HUGE code cleanup

This commit is contained in:
jomo
2014-06-10 01:31:03 +02:00
parent 3dd467afec
commit cb716abd6b
12 changed files with 316 additions and 313 deletions

View File

@@ -1,3 +1,4 @@
#pylint: disable=F0401
import org.bukkit as bukkit
from helpers import *
@@ -35,7 +36,7 @@ def tpChunk(sender, id):
msg(sender, "&aTeleported to &b%s&a, &b%s&a in &7%s&a with &b%s&a entities nearby." % (chunk[1], chunk[3], chunk[0].getName(), chunk[4]))
@hook.command("lagchunks")
def onCommand(sender, args):
def onLagchunksCommand(sender, args):
try:
if sender.hasPermission("utils.lagchunks"):
plugHeader(sender, "Lagchunks")