summaryrefslogtreecommitdiff
path: root/snowbrawl.py
diff options
context:
space:
mode:
authorPanFritz <redstonenoobpan@gmail.com>2015-01-17 00:34:10 +0100
committerPanFritz <redstonenoobpan@gmail.com>2015-01-17 00:34:10 +0100
commitce332e7c7c2012633993da06401fe366e68f8c59 (patch)
tree3626ef7d03c409f6cebc0bc651a3370705080712 /snowbrawl.py
parent5fc18d034fdbd8e0eab593b007cb67b2d3ef45b2 (diff)
org.bukkit.event.entity.ProjectileHitEvent
Diffstat (limited to 'snowbrawl.py')
-rw-r--r--snowbrawl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/snowbrawl.py b/snowbrawl.py
index 303fb3b..5af5292 100644
--- a/snowbrawl.py
+++ b/snowbrawl.py
@@ -10,7 +10,7 @@ Objective
PlayersInQue
"""
-@hook.event("Entity.ProjectileHitEvent", "high")
+@hook.event("org.bukkit.event.entity.ProjectileHitEvent", "high")
def onHit(event):
print "thrown"
if event.getEntity().getType() != EntityType.SNOWBALL:
@@ -99,4 +99,4 @@ def getArena(location):
arena = arenas.get(name)
if arena.getLocation().inRange(location, arena.getSize() - 1)
return arena
- return None \ No newline at end of file
+ return None