aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelAccessor.java.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelAccessor.java.patch')
-rw-r--r--patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelAccessor.java.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelAccessor.java.patch b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelAccessor.java.patch
new file mode 100644
index 0000000000..39ce92c7b6
--- /dev/null
+++ b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelAccessor.java.patch
@@ -0,0 +1,9 @@
+--- a/net/minecraft/world/level/LevelAccessor.java
++++ b/net/minecraft/world/level/LevelAccessor.java
+@@ -116,4 +114,6 @@
+ default void gameEvent(GameEvent gameevent, BlockPos blockpos, GameEvent.Context gameevent_context) {
+ this.gameEvent(gameevent, Vec3.atCenterOf(blockpos), gameevent_context);
+ }
++
++ net.minecraft.server.level.ServerLevel getMinecraftWorld(); // CraftBukkit
+ }