From 3b043e094dcf09b4cf9a7f44934e654183824dd1 Mon Sep 17 00:00:00 2001 From: Pepich Date: Wed, 1 Feb 2017 12:32:44 +0100 Subject: [PATCH] Added moduleHeader() function for uniform headers --- src/com/redstoner/misc/Utils.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/com/redstoner/misc/Utils.java b/src/com/redstoner/misc/Utils.java index 4ea6032..53825cd 100644 --- a/src/com/redstoner/misc/Utils.java +++ b/src/com/redstoner/misc/Utils.java @@ -155,4 +155,13 @@ public final class Utils } return classname; } + + /** Displays the module header to the recipient.
+ * Format: &2--=[ %MODULE% ]=-- + * + * @param recipient Whom to display the header to. */ + public static void sendModuleHeader(CommandSender recipient) + { + recipient.sendMessage("ยง2--=[ " + getCaller() + " ]=--"); + } }