summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDico200 <dico.karssiens@gmail.com>2016-05-25 18:18:27 +0200
committerDico200 <dico.karssiens@gmail.com>2016-05-25 18:18:27 +0200
commita532c6b42c2c2629c7772e5538012446047da197 (patch)
treeaa66161242d1ac0af0ecff72db85f41366380bf7
parenta2a43ed464edbafe9548c156371d8013cc9e054d (diff)
Changed broadcast message, removed two debugs
-rw-r--r--imbusy.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/imbusy.py b/imbusy.py
index 2baefa3..4dc6f59 100644
--- a/imbusy.py
+++ b/imbusy.py
@@ -53,7 +53,7 @@ def on_busy_command(sender, cmd, label, args):
msg(sender, "You cannot be even more focused than this without being a jedi!")
else:
busy_players.append(sender.getName())
- broadcast(None, "&c[&2Busy&c] &fNow busy: %s&r, don't even TRY bothering them!" % sender.getDisplayName())
+ broadcast(None, "&c[&2Busy&c] %s&r is now busy, don't even TRY bothering them!" % sender.getDisplayName())
elif args[0] == "off":
try:
@@ -144,7 +144,6 @@ class CommandWrapper(Command):
self.checker = checker
def execute(self, sender, label, args):
- info("/" + self.getLabel() + " executed by " + sender.getName())
try:
if self.checker(sender, args):
return self.wrapped.execute(sender, label, args)
@@ -185,7 +184,6 @@ def on_player_command_preprocess(event):
def replace_ess_commands():
try:
- info("[imbusy] Wrapping ess commands")
map_field = server.getPluginManager().getClass().getDeclaredField("commandMap")
map_field.setAccessible(True)
command_map = map_field.get(server.getPluginManager())