mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 08:44:02 +00:00
Fixed missing icons mushroom16 and corporeaIndex.
This commit is contained in:
1 parent
4ea7fc4b54
commit
cc753e5dfc
2 files changed
+7
-1
No files matched your search
@@ -11,6 +11,7 @@
|
||||
package vazkii.botania.common.block.corporea;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
@@ -41,6 +42,11 @@ public class BlockCorporeaIndex extends BlockCorporeaBase implements ILexiconabl
|
||||
public boolean renderAsNormalBlock() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerBlockIcons(IIconRegister par1IconRegister) {
|
||||
// NO-OP
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon(int side, int meta) {
|
||||
|
||||
@@ -90,7 +90,7 @@ public class BlockModMushroom extends BlockMushroom implements IInfusionStabilis
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerBlockIcons(IIconRegister par1IconRegister) {
|
||||
icons = new IIcon[17];
|
||||
icons = new IIcon[16];
|
||||
|
||||
for(int i = 0; i < icons.length; i++)
|
||||
icons[i] = IconHelper.forBlock(par1IconRegister, this, i);
|
||||
|
||||
Reference in new issue
Block a user