summaryrefslogtreecommitdiff
path: root/src/com/redstoner/misc/Utils.java
diff options
context:
space:
mode:
authorPepich <benedikt.abel@yahoo.de>2017-02-01 12:32:44 +0100
committerPepich <benedikt.abel@yahoo.de>2017-02-01 12:32:44 +0100
commit3b043e094dcf09b4cf9a7f44934e654183824dd1 (patch)
treed2213197eaaae93dec8ff48d9bf50dbd79f4c67c /src/com/redstoner/misc/Utils.java
parent6fa8bad7cb82ba3a0a770c8858e2769c016aeb10 (diff)
Added moduleHeader() function for uniform headers
Diffstat (limited to 'src/com/redstoner/misc/Utils.java')
-rw-r--r--src/com/redstoner/misc/Utils.java9
1 files changed, 9 insertions, 0 deletions
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.</br>
+ * Format: &2--=[ %MODULE% ]=--
+ *
+ * @param recipient Whom to display the header to. */
+ public static void sendModuleHeader(CommandSender recipient)
+ {
+ recipient.sendMessage("ยง2--=[ " + getCaller() + " ]=--");
+ }
}