diff options
Diffstat (limited to 'nms-patches/ItemMapEmpty.patch')
-rw-r--r-- | nms-patches/ItemMapEmpty.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nms-patches/ItemMapEmpty.patch b/nms-patches/ItemMapEmpty.patch index 6edb2d9b..754beb36 100644 --- a/nms-patches/ItemMapEmpty.patch +++ b/nms-patches/ItemMapEmpty.patch @@ -14,7 +14,8 @@ + worldMain.a(s, (PersistentBase) worldmap); // CraftBukkit worldmap.scale = 0; worldmap.a(entityhuman.locX, entityhuman.locZ, worldmap.scale); - worldmap.map = (byte) world.worldProvider.getDimensionManager().getDimensionID(); +- worldmap.map = (byte) world.worldProvider.getDimensionManager().getDimensionID(); ++ worldmap.map = (byte) ((WorldServer) world).dimension; // CraftBukkit - use bukkit dimension worldmap.track = true; worldmap.c(); + |