Fixe Missing texture Errors.
This commit is contained in:
parent
7242dfeb08
commit
441018a6bb
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ public enum ExtraBlockTextures
|
||||||
|
|
||||||
BlockCraftingAccelerator("BlockCraftingAccelerator"), BlockCraftingMonitor("BlockCraftingMonitor"),
|
BlockCraftingAccelerator("BlockCraftingAccelerator"), BlockCraftingMonitor("BlockCraftingMonitor"),
|
||||||
|
|
||||||
BlockCraftingStorage1k("BlockCraftingStorage1k"), BlockCraftingStorage4k("BlockCraftingStorage4k"), BlockCraftingStorage16k("BlockCraftingStorage16k"), BlockCraftingStorage64k(
|
BlockCraftingStorage1k("BlockCraftingStorage"), BlockCraftingStorage4k("BlockCraftingStorage4k"), BlockCraftingStorage16k("BlockCraftingStorage16k"), BlockCraftingStorage64k(
|
||||||
"BlockCraftingStorage64k"),
|
"BlockCraftingStorage64k"),
|
||||||
|
|
||||||
BlockCraftingAcceleratorFit("BlockCraftingAcceleratorFit"), BlockCraftingMonitorFit("BlockCraftingMonitorFit"),
|
BlockCraftingAcceleratorFit("BlockCraftingAcceleratorFit"), BlockCraftingMonitorFit("BlockCraftingMonitorFit"),
|
||||||
|
|
|
@ -201,7 +201,7 @@ public class ItemMultiMaterial extends AEBaseItem implements IStorageComponent,
|
||||||
{
|
{
|
||||||
for (MaterialType mat : MaterialType.values())
|
for (MaterialType mat : MaterialType.values())
|
||||||
{
|
{
|
||||||
if ( mat.damageValue != -1 )
|
if ( mat.damageValue != -1 && mat != MaterialType.InvalidType )
|
||||||
{
|
{
|
||||||
String tex = "appliedenergistics2:" + nameOf( new ItemStack( this, 1, mat.damageValue ) );
|
String tex = "appliedenergistics2:" + nameOf( new ItemStack( this, 1, mat.damageValue ) );
|
||||||
mat.IIcon = icoRegister.registerIcon( tex );
|
mat.IIcon = icoRegister.registerIcon( tex );
|
||||||
|
|
Loading…
Reference in a new issue