#934 NoSuchFieldError on servers

This commit is contained in:
tterrag1098 committed 2014-08-27 22:32:01 -04:00
1 parent db2e0ebad6
commit fa75db00f3
2 files changed
+2 -2

No files matched your search

@@ -25,7 +25,6 @@ public abstract class BlockEio extends Block {
setBlockName(name);
setStepSound(Block.soundTypeMetal);
setCreativeTab(EnderIOTab.tabEnderIO);
}
protected void init() {
@@ -15,7 +15,7 @@ import crazypants.enderio.ModObject;
public class BlockIngotStorage extends BlockEio {
@SideOnly(Side.CLIENT)
private IIcon[] icons = new IIcon[Alloy.values().length];
private IIcon[] icons;
public static BlockIngotStorage create() {
BlockIngotStorage res = new BlockIngotStorage();
@@ -36,6 +36,7 @@ public class BlockIngotStorage extends BlockEio {
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister register) {
icons = new IIcon[Alloy.values().length];
for (Alloy alloy : Alloy.values()) {
icons[alloy.ordinal()] = register.registerIcon(alloy.iconKey + "Block");
}