Paper/nms-patches/GeneratorAccess.patch
2020-08-12 07:00:00 +10:00

10 lines
314 B
Diff

--- a/net/minecraft/server/GeneratorAccess.java
+++ b/net/minecraft/server/GeneratorAccess.java
@@ -46,4 +46,6 @@
default void triggerEffect(int i, BlockPosition blockposition, int j) {
this.a((EntityHuman) null, i, blockposition, j);
}
+
+ WorldServer getMinecraftWorld(); // CraftBukkit
}