Archived
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:
@@ -109,7 +109,6 @@ def on_block_break(event):
|
|||||||
if str(block.getType()) in accepted_inputs and not event.isCancelled():
|
if str(block.getType()) in accepted_inputs and not event.isCancelled():
|
||||||
pos_str = location_str(block)
|
pos_str = location_str(block)
|
||||||
if inputs.get(pos_str):
|
if inputs.get(pos_str):
|
||||||
plugin_header(sender, "DamnSpam")
|
|
||||||
if sender.isSneaking():
|
if sender.isSneaking():
|
||||||
# test if player is allowed to build here
|
# test if player is allowed to build here
|
||||||
removing_input = True
|
removing_input = True
|
||||||
|
|||||||
Reference in New Issue
Block a user