org.bukkit.event.entity.ProjectileHitEvent
This commit is contained in:
@@ -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
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user