OSDN Git Service

1.5.2対応
[chemicraft/ChemiCraftNext.git] / common / pcc / chemicraft / core / item / ItemGasCollectingBottle.java
index b1b10cf..b91d1b6 100644 (file)
@@ -1,5 +1,7 @@
 package pcc.chemicraft.core.item;
 
+import cpw.mods.fml.relauncher.Side;
+import cpw.mods.fml.relauncher.SideOnly;
 import net.minecraft.block.Block;
 import net.minecraft.block.BlockFire;
 import net.minecraft.client.renderer.texture.IconRegister;
@@ -93,8 +95,9 @@ public class ItemGasCollectingBottle extends ItemAtomInfoContainer
        }
 
        @Override
-       public void updateIcons(IconRegister par1IconRegister){
-               this.iconIndex = par1IconRegister.registerIcon(ChemiCraft.TEXTURE + "gas_collecting_bottle");
+       @SideOnly(Side.CLIENT)
+    public void registerIcons(IconRegister par1IconRegister){
+               this.itemIcon = par1IconRegister.registerIcon(ChemiCraft.TEXTURE + "gas_collecting_bottle");
        }
 
 }