Added moduleHeader() function for uniform headers
This commit is contained in:
parent
6fa8bad7cb
commit
3b043e094d
@ -155,4 +155,13 @@ public final class Utils
|
|||||||
}
|
}
|
||||||
return classname;
|
return classname;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Displays the module header to the recipient.</br>
|
||||||
|
* Format: &2--=[ %MODULE% ]=--
|
||||||
|
*
|
||||||
|
* @param recipient Whom to display the header to. */
|
||||||
|
public static void sendModuleHeader(CommandSender recipient)
|
||||||
|
{
|
||||||
|
recipient.sendMessage("§2--=[ " + getCaller() + " ]=--");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user