mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Of course, the issue isn't on Minecraft's end, it has to do with Coord4D hashing. Coord4D no longer extends BlockPos to prevent hash issues
This commit is contained in:
1 parent
c6f3c162f9
commit
ddfe83c495
70 files changed
+458
-1032
No files matched your search
@@ -24,8 +24,8 @@ public class PacketPortalFX implements IMessageHandler<PortalFXMessage, IMessage
|
||||
|
||||
for(int i = 0; i < 50; i++)
|
||||
{
|
||||
player.worldObj.spawnParticle(EnumParticleTypes.PORTAL, message.coord4D.getX() + random.nextFloat(), message.coord4D.getY() + random.nextFloat(), message.coord4D.getZ() + random.nextFloat(), 0.0F, 0.0F, 0.0F);
|
||||
player.worldObj.spawnParticle(EnumParticleTypes.PORTAL, message.coord4D.getX() + random.nextFloat(), message.coord4D.getY() + 1 + random.nextFloat(), message.coord4D.getZ() + random.nextFloat(), 0.0F, 0.0F, 0.0F);
|
||||
player.worldObj.spawnParticle(EnumParticleTypes.PORTAL, message.coord4D.xCoord + random.nextFloat(), message.coord4D.yCoord + random.nextFloat(), message.coord4D.zCoord + random.nextFloat(), 0.0F, 0.0F, 0.0F);
|
||||
player.worldObj.spawnParticle(EnumParticleTypes.PORTAL, message.coord4D.xCoord + random.nextFloat(), message.coord4D.yCoord + 1 + random.nextFloat(), message.coord4D.zCoord + random.nextFloat(), 0.0F, 0.0F, 0.0F);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user