Added server list ping event.

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-09-26 15:32:01 -07:00
parent bbcdbdda16
commit d0f0db958d
4 changed files with 100 additions and 0 deletions

View File

@@ -584,6 +584,13 @@ public class JavaPluginLoader implements PluginLoader {
}
};
case SERVER_LIST_PING:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
((ServerListener) listener).onServerListPing((ServerListPingEvent) event);
}
};
// World Events
case CHUNK_LOAD:
return new EventExecutor() {