Apply various common one-to-one replacements

More work on common too. network package now done.
This commit is contained in:
Ben Spiers committed 2016-01-23 13:24:51 +00:00
1 parent a0114b5112
commit a80f724cc2
189 files changed
+1586 -1634

No files matched your search

@@ -1,6 +1,7 @@
package mekanism.common;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.network.IGuiHandler;
@@ -15,12 +16,12 @@ public class CoreGuiHandler implements IGuiHandler
@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
{
return Mekanism.proxy.getServerGui(ID, player, world, x, y, z);
return Mekanism.proxy.getServerGui(ID, player, world, new BlockPos(x, y, z));
}
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
{
return Mekanism.proxy.getClientGui(ID, player, world, x, y, z);
return Mekanism.proxy.getClientGui(ID, player, world, new BlockPos(x, y, z));
}
}