From dd016e7135dec2ae6d8163a307b9705fa379a4ae Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 10 Mar 2016 16:42:07 +1100 Subject: [PATCH] SPIGOT-1847: Maps in non default worlds --- nms-patches/ItemMapEmpty.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nms-patches/ItemMapEmpty.patch b/nms-patches/ItemMapEmpty.patch index 6edb2d9b1d..754beb3693 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(); +