mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
@@ -438,6 +438,12 @@ public final class JavaPluginLoader implements PluginLoader {
|
||||
((BlockListener) listener).onSnowForm((SnowFormEvent) event);
|
||||
}
|
||||
};
|
||||
case BLOCK_DISPENSE:
|
||||
return new EventExecutor() {
|
||||
public void execute(Listener listener, Event event) {
|
||||
((BlockListener) listener).onBlockDispense((BlockDispenseEvent) event);
|
||||
}
|
||||
};
|
||||
|
||||
// Server Events
|
||||
case PLUGIN_ENABLE:
|
||||
|
Reference in New Issue
Block a user