summaryrefslogtreecommitdiff
path: root/snowbrawl.py
diff options
context:
space:
mode:
authorPanFritz <redstonenoobpan@gmail.com>2015-01-17 00:41:17 +0100
committerPanFritz <redstonenoobpan@gmail.com>2015-01-17 00:41:17 +0100
commit759baa869aa3492e93f24ef8591253b8721aa757 (patch)
tree27c863d71e5315853acda132b906e090fd9b44c5 /snowbrawl.py
parent46b3946ee75f10a066dcdb5a84f845600bb7f9e9 (diff)
changed event name
Diffstat (limited to 'snowbrawl.py')
-rw-r--r--snowbrawl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/snowbrawl.py b/snowbrawl.py
index d7bc65c..dc74d67 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: