Code cleanup and remove some unused code

This commit is contained in:
mezz committed 2015-08-02 22:53:19 -07:00
1 parent f0f8c9a984
commit fdf3493ed0
295 files changed
+899 -2840

No files matched your search

@@ -15,7 +15,6 @@ import net.minecraft.world.World;
import forestry.core.GuiHandlerBase;
import forestry.core.network.GuiId;
import forestry.core.network.PacketId;
import forestry.core.network.PacketSocketUpdate;
import forestry.core.proxy.Proxies;
import forestry.farming.gui.ContainerFarm;
@@ -34,7 +33,7 @@ public class GuiHandlerFarming extends GuiHandlerBase {
switch (GuiId.values()[id]) {
case MultiFarmGUI:
TileFarm tile = getTile(world, x, y, z, player, TileFarm.class);
Proxies.net.sendToPlayer(new PacketSocketUpdate(PacketId.SOCKET_UPDATE, tile), player);
Proxies.net.sendToPlayer(new PacketSocketUpdate(tile), player);
return new ContainerFarm(player.inventory, tile);
default:
return null;