added import

This commit is contained in:
PanFritz
2015-01-17 00:47:49 +01:00
parent e072580c0d
commit a86331c33d
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ import org.bukkit.Location as Location
import org.bukkit.entity.Player as Player
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause as TeleportCause
import org.bukkit.block as bblock
import org.bukkit.event.entity as entity
shared = {} # this dict can be used to share stuff across modules

View File

@@ -10,7 +10,7 @@ Objective
PlayersInQue
"""
@hook.event("bukkit.event.entity.ProjectileHitEvent", "high")
@hook.event("entity.ProjectileHitEvent", "high")
def onHit(event):
print "thrown"
if event.getEntity().getType() != EntityType.SNOWBALL: