Added SIGN_CHANGE event.

By: Timberjaw <timberjaw@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-02-10 18:18:56 -08:00
parent a3f7361535
commit 204952eed0
4 changed files with 90 additions and 0 deletions

View File

@@ -241,6 +241,11 @@ public final class JavaPluginLoader implements PluginLoader {
((BlockListener)listener).onLeavesDecay( (LeavesDecayEvent)event );
}
};
case SIGN_CHANGE:
return new EventExecutor() { public void execute( Listener listener, Event event ) {
((BlockListener)listener).onSignChange( (SignChangeEvent)event );
}
};
case BLOCK_IGNITE:
return new EventExecutor() { public void execute( Listener listener, Event event ) {
((BlockListener)listener).onBlockIgnite( (BlockIgniteEvent)event );