mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Fix very stupid issue introduced by renaming
This commit is contained in:
1 parent
29e9ac7240
commit
c6be298e87
1 file changed
+10
-10
@@ -41,11 +41,11 @@ public class Coord4D
|
||||
*/
|
||||
public Coord4D(Entity entity)
|
||||
{
|
||||
x = (int)entity.posX;
|
||||
y = (int)entity.posY;
|
||||
z = (int)entity.posZ;
|
||||
|
||||
dimensionId = entity.world.provider.getDimension();
|
||||
this.x = (int)entity.posX;
|
||||
this.y = (int)entity.posY;
|
||||
this.z = (int)entity.posZ;
|
||||
|
||||
this.dimensionId = entity.world.provider.getDimension();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,11 +57,11 @@ public class Coord4D
|
||||
*/
|
||||
public Coord4D(double x, double y, double z, int dimension)
|
||||
{
|
||||
x = MathHelper.floor(x);
|
||||
y = MathHelper.floor(y);
|
||||
z = MathHelper.floor(z);
|
||||
this.x = MathHelper.floor(x);
|
||||
this.y = MathHelper.floor(y);
|
||||
this.z = MathHelper.floor(z);
|
||||
|
||||
dimensionId = dimension;
|
||||
this.dimensionId = dimension;
|
||||
}
|
||||
|
||||
public Coord4D(BlockPos pos, World world)
|
||||
@@ -419,4 +419,4 @@ public class Coord4D
|
||||
code = 31 * code + dimensionId;
|
||||
return code;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user