Added the concept of a projectile.

This commit is contained in:
sunkid
2011-06-18 08:09:41 -07:00
committed by EvilSeph
parent fb79a3106e
commit 7cab3de477
11 changed files with 83 additions and 16 deletions

View File

@@ -719,6 +719,13 @@ public final class JavaPluginLoader implements PluginLoader {
}
};
case PROJECTILE_HIT:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
((EntityListener) listener).onProjectileHit((ProjectileHitEvent) event);
}
};
// Vehicle Events
case VEHICLE_CREATE:
return new EventExecutor() {