Fix getIcon for servers

This commit is contained in:
Alexander committed 2014-02-17 15:30:13 -05:00
1 parent 69c8fd81e1
commit 1bc13bad5b
19 files changed
+69 -6

No files matched your search

@@ -19,6 +19,8 @@ import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import tconstruct.library.TConstructRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class Landmine extends MantleBlock
{
@@ -36,6 +38,7 @@ public class Landmine extends MantleBlock
}
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon (IBlockAccess world, int x, int y, int z, int side)
{
Block block = world.getBlock(x, y - 1, z);
@@ -47,6 +50,7 @@ public class Landmine extends MantleBlock
}
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon (int side, int meta)
{
return Blocks.sponge.getIcon(1, meta);