mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-20 06:43:49 -07:00
Added SnowFormEvent. Thanks aPunch!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
@@ -400,6 +400,12 @@ public final class JavaPluginLoader implements PluginLoader {
|
||||
((BlockListener) listener).onBlockBreak((BlockBreakEvent) event);
|
||||
}
|
||||
};
|
||||
case SNOW_FORM:
|
||||
return new EventExecutor() {
|
||||
public void execute(Listener listener, Event event) {
|
||||
((BlockListener) listener).onSnowForm((SnowFormEvent) event);
|
||||
}
|
||||
};
|
||||
|
||||
// Server Events
|
||||
case PLUGIN_ENABLE:
|
||||
|
Reference in New Issue
Block a user