Fix nuke texture

This commit is contained in:
modmuss50 2016-11-28 13:05:11 +00:00
parent 1dbc56f739
commit 9c33676b3d

View file

@ -93,9 +93,12 @@ public class BlockNuke extends BaseBlock implements ITexturedBlock {
@Override
public String getTextureNameFromState(IBlockState iBlockState, EnumFacing enumFacing) {
if (iBlockState.getValue(OVERLAY)) {
return "techreborn:blocks/nuke_overlay";
return "techreborn:blocks/nuke_front";
}
return "techreborn:blocks/nuke";
if (enumFacing == EnumFacing.UP || enumFacing == EnumFacing.DOWN) {
return "techreborn:blocks/nuke_top";
}
return "techreborn:blocks/nuke_side";
}
@Override