Fixed wonky Chests/Presents. We still need textures for later, when it won't be christmas

This commit is contained in:
CptSpaceToaster committed 2014-12-30 16:34:07 -05:00
1 parent 510c3a7bbf
commit 341822b74e
3 files changed
+8 -238

No files matched your search

@@ -31,14 +31,14 @@ public class RenderPresent extends TileEntityChestRenderer {
if (block instanceof BlockPresent && i == 0) {
try {
((BlockPresent) block).changeMetadataBasedOffSpecs(present.getWorldObj(), present.xCoord, present.yCoord, present.zCoord);
((BlockPresent) block).func_149954_e(present.getWorldObj(), present.xCoord, present.yCoord, present.zCoord);
} catch (ClassCastException e) {
FMLLog.severe("[Chisel 2] Attempted to render a present at %d, %d, %d that was not a present", present.xCoord, present.yCoord, present.zCoord);
}
i = present.getBlockMetadata();
}
present.checkForAdjacentPresents();
present.checkForAdjacentChests();
}
if (present.adjacentChestZNeg == null && present.adjacentChestXNeg == null) {