org.bukkit.event.entity.ProjectileHitEvent
This commit is contained in:
@@ -10,7 +10,7 @@ Objective
|
|||||||
PlayersInQue
|
PlayersInQue
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@hook.event("Entity.ProjectileHitEvent", "high")
|
@hook.event("org.bukkit.event.entity.ProjectileHitEvent", "high")
|
||||||
def onHit(event):
|
def onHit(event):
|
||||||
print "thrown"
|
print "thrown"
|
||||||
if event.getEntity().getType() != EntityType.SNOWBALL:
|
if event.getEntity().getType() != EntityType.SNOWBALL:
|
||||||
|
|||||||
Reference in New Issue
Block a user