Fix many server crashes from client-side code

This commit is contained in:
mezz committed 2017-02-09 02:27:31 -08:00
1 parent f660f213f6
commit b8acba968e
49 files changed
+232 -147

No files matched your search

@@ -20,16 +20,18 @@ import binnie.genetics.machine.isolator.Isolator;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class WindowIsolator extends WindowMachine {
static Texture ProgressBase = new StandardTexture(0, 218, 142, 17, ExtraBeeTexture.GUIProgress.getTexture());
static Texture Progress = new StandardTexture(0, 201, 142, 17, ExtraBeeTexture.GUIProgress.getTexture());
static Texture ProgressBase = new StandardTexture(0, 218, 142, 17, ExtraBeeTexture.GUIProgress);
static Texture Progress = new StandardTexture(0, 201, 142, 17, ExtraBeeTexture.GUIProgress);
public WindowIsolator(final EntityPlayer player, final IInventory inventory, final Side side) {
super(330, 208, player, inventory, side);
}
@Override
@SideOnly(Side.CLIENT)
public void initialiseClient() {
super.initialiseClient();
int x = 16;