mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-18 19:49:12 +00:00
Fixed wonky Chests/Presents. We still need textures for later, when it won't be christmas
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user