mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Code cleanup and remove some unused code
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user