PaperMC/paper-server/nms-patches/net/minecraft/world/level/GeneratorAccess.patch
CraftBukkit/Spigot b3a8254758 Update to Minecraft 1.17
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00

9 lines
367 B
Diff

--- a/net/minecraft/world/level/GeneratorAccess.java
+++ b/net/minecraft/world/level/GeneratorAccess.java
@@ -77,4 +77,6 @@
default void a(@Nullable Entity entity, GameEvent gameevent, Entity entity1) {
this.a(entity, gameevent, entity1.getChunkCoordinates());
}
+
+ net.minecraft.server.level.WorldServer getMinecraftWorld(); // CraftBukkit
}