mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
SPIGOT-1847: Maps in non default worlds
This commit is contained in:
parent
4c3da3f6e2
commit
dd016e7135
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue