Added BlockSpread, BlockForm and BlockFade events.

This commit is contained in:
EvilSeph
2011-06-17 14:46:01 -04:00
parent 99d9e5f66b
commit 7f333192cf
6 changed files with 193 additions and 1 deletions

View File

@@ -490,6 +490,28 @@ public final class JavaPluginLoader implements PluginLoader {
}
};
case BLOCK_FORM:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
((BlockListener) listener).onBlockForm((BlockFormEvent) event);
}
};
case BLOCK_SPREAD:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
((BlockListener) listener).onBlockSpread((BlockSpreadEvent) event);
}
};
case BLOCK_FADE:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
((BlockListener) listener).onBlockFade((BlockFadeEvent) event);
}
};
case BLOCK_DISPENSE:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
@@ -526,7 +548,7 @@ public final class JavaPluginLoader implements PluginLoader {
((WorldListener) listener).onChunkLoad((ChunkLoadEvent) event);
}
};
case CHUNK_POPULATED:
return new EventExecutor() {
public void execute(Listener listener, Event event) {