Added PlayerFish event.

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
Bukkit/Spigot
2011-07-03 00:23:37 -04:00
parent ccbd9a6709
commit 84a45a3927
4 changed files with 105 additions and 0 deletions

View File

@@ -406,6 +406,13 @@ public final class JavaPluginLoader implements PluginLoader {
}
};
case PLAYER_FISH:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
((PlayerListener) listener).onPlayerFish((PlayerFishEvent) event);
}
};
// Block Events
case BLOCK_PHYSICS:
return new EventExecutor() {