diff options
author | PanFritz <redstonenoobpan@gmail.com> | 2015-01-17 00:38:25 +0100 |
---|---|---|
committer | PanFritz <redstonenoobpan@gmail.com> | 2015-01-17 00:38:25 +0100 |
commit | 46b3946ee75f10a066dcdb5a84f845600bb7f9e9 (patch) | |
tree | ff979a68a2fea67a66473f2b390c303891a8ffb5 /snowbrawl.py | |
parent | db4dd3c86135484b40a025974e9fad7f50df6bda (diff) |
commented un needed stuff
Diffstat (limited to 'snowbrawl.py')
-rw-r--r-- | snowbrawl.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/snowbrawl.py b/snowbrawl.py index 5af5292..d7bc65c 100644 --- a/snowbrawl.py +++ b/snowbrawl.py @@ -10,7 +10,7 @@ Objective PlayersInQue """ -@hook.event("org.bukkit.event.entity.ProjectileHitEvent", "high") +@hook.event("Entity.ProjectileHitEvent", "high") def onHit(event): print "thrown" if event.getEntity().getType() != EntityType.SNOWBALL: @@ -24,8 +24,6 @@ def onHit(event): - - @hook.event("PlayerInteractEvent") def onClick(event): if (event.getAction() != Action.RIGHT_CLICK_BLOCK): @@ -37,7 +35,7 @@ def onClick(event): lines = bukkit.block.Sign.getLines(sign_state) - +""" class Queue(Object): queue = [] @@ -87,16 +85,15 @@ class Coordinate(Object): xd = location.getBlockX() - getX() zd = location.getBlockZ() - getZ() return xd >= 0 and xd <= range_ and zd >= 0 and zd <= range_ -""" class Match(Object): names = [] def __init__(self, ): -""" def getArena(location): for name in arenas: arena = arenas.get(name) if arena.getLocation().inRange(location, arena.getSize() - 1) return arena return None +"""
\ No newline at end of file |