SPIGOT-1847: Maps in non default worlds

This commit is contained in:
md_5 2016-03-10 16:42:07 +11:00
parent 4c3da3f6e2
commit dd016e7135

View File

@ -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();
+