Remove annoying Damnspam plugin header

I hate plugin_header, can we maybe make it return a string which we
append the message to instead? ._.
or create like plugin_message(String pluginname, Player recipient,
String message)
This commit is contained in:
Dico200
2015-03-19 20:25:47 +01:00
parent 9476a1b0b7
commit 5d23fe490b

View File

@@ -109,7 +109,6 @@ def on_block_break(event):
if str(block.getType()) in accepted_inputs and not event.isCancelled():
pos_str = location_str(block)
if inputs.get(pos_str):
plugin_header(sender, "DamnSpam")
if sender.isSneaking():
# test if player is allowed to build here
removing_input = True