mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +01:00
Spigot-149 - Save map in primary world.
This commit is contained in:
parent
20c65caae7
commit
5ae6f9935c
@ -1,5 +1,5 @@
|
|||||||
--- ../work/decompile-8eb82bde//net/minecraft/server/ItemMapEmpty.java 2014-11-28 17:43:43.237707432 +0000
|
--- ../work/decompile-8eb82bde//net/minecraft/server/ItemMapEmpty.java Wed Dec 17 16:16:12 2014
|
||||||
+++ src/main/java/net/minecraft/server/ItemMapEmpty.java 2014-11-28 17:38:23.000000000 +0000
|
+++ src/main/java/net/minecraft/server/ItemMapEmpty.java Wed Dec 17 16:16:12 2014
|
||||||
@@ -7,15 +7,19 @@
|
@@ -7,15 +7,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -10,7 +10,8 @@
|
|||||||
String s = "map_" + itemstack1.getData();
|
String s = "map_" + itemstack1.getData();
|
||||||
WorldMap worldmap = new WorldMap(s);
|
WorldMap worldmap = new WorldMap(s);
|
||||||
|
|
||||||
world.a(s, (PersistentBase) worldmap);
|
- world.a(s, (PersistentBase) worldmap);
|
||||||
|
+ worldMain.a(s, (PersistentBase) worldmap);
|
||||||
worldmap.scale = 0;
|
worldmap.scale = 0;
|
||||||
worldmap.a(entityhuman.locX, entityhuman.locZ, worldmap.scale);
|
worldmap.a(entityhuman.locX, entityhuman.locZ, worldmap.scale);
|
||||||
- worldmap.map = (byte) world.worldProvider.getDimension();
|
- worldmap.map = (byte) world.worldProvider.getDimension();
|
||||||
|
Loading…
Reference in New Issue
Block a user