PaperMC/paper-server/nms-patches/net/minecraft/world/level/GeneratorAccess.patch

10 lines
492 B
Diff
Raw Normal View History

2021-03-15 23:00:00 +01:00
--- a/net/minecraft/world/level/GeneratorAccess.java
+++ b/net/minecraft/world/level/GeneratorAccess.java
@@ -121,4 +121,6 @@
default void gameEvent(ResourceKey<GameEvent> resourcekey, BlockPosition blockposition, GameEvent.a gameevent_a) {
this.gameEvent((Holder) this.registryAccess().registryOrThrow(Registries.GAME_EVENT).getHolderOrThrow(resourcekey), blockposition, gameevent_a);
}
+
2021-03-15 23:00:00 +01:00
+ net.minecraft.server.level.WorldServer getMinecraftWorld(); // CraftBukkit
}