Fix bug with Sky Stone Block Chest not rendering Block Version After World Re-Load.
This commit is contained in:
parent
27b30588a6
commit
fb6bb1a964
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class RenderBlockSkyChest extends BaseBlockRender
|
|||
|
||||
ResourceLocation loc;
|
||||
|
||||
if ( tile.blockMetadata == 1 )
|
||||
if ( tile.getWorldObj().getBlockMetadata( tile.xCoord, tile.yCoord, tile.zCoord ) == 1 )
|
||||
loc = new ResourceLocation( "appliedenergistics2", "textures/models/skyblockchest.png" );
|
||||
else
|
||||
loc = new ResourceLocation( "appliedenergistics2", "textures/models/skychest.png" );
|
||||
|
|
Loading…
Reference in a new issue