forked from xjboss/KCauldronX
Update to Forge 10.13.3.1388. Small fixes.
This commit is contained in:
@ -12,7 +12,12 @@
|
||||
public class ItemMap extends ItemMapBase
|
||||
{
|
||||
private static final String __OBFID = "CL_00000047";
|
||||
@@ -60,6 +65,10 @@
|
||||
@@ -56,10 +61,14 @@
|
||||
mapdata.scale = 3;
|
||||
int i = 128 * (1 << mapdata.scale);
|
||||
mapdata.xCenter = Math.round((float)p_77873_2_.getWorldInfo().getSpawnX() / (float)i) * i;
|
||||
- mapdata.zCenter = Math.round((float)(p_77873_2_.getWorldInfo().getSpawnZ() / i)) * i;
|
||||
+ mapdata.zCenter = Math.round((float) p_77873_2_.getWorldInfo().getSpawnZ() / (float)i) * i;
|
||||
mapdata.dimension = p_77873_2_.provider.dimensionId;
|
||||
mapdata.markDirty();
|
||||
p_77873_2_.setItemData(s, mapdata);
|
||||
|
Reference in New Issue
Block a user