Added the concept of a projectile.

By: sunkid <sunkid@iminurnetz.com>
This commit is contained in:
Bukkit/Spigot
2011-06-18 08:09:41 -07:00
parent 2a62ac59bf
commit 31e3c65440
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() {