mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Texture fixes
This commit is contained in:
1 parent
e497a46bd6
commit
14aea16e3a
2 files changed
+11
-8
No files matched your search
@@ -430,6 +430,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IBlo
|
||||
switch(meta)
|
||||
{
|
||||
case 3:
|
||||
case 5:
|
||||
return icons[meta][side];
|
||||
default:
|
||||
return icons[meta][0] != null ? icons[meta][0] : BASE_ICON;
|
||||
@@ -483,6 +484,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IBlo
|
||||
switch(meta)
|
||||
{
|
||||
case 3:
|
||||
case 5:
|
||||
boolean active = MekanismUtils.isActive(world, x, y, z);
|
||||
return icons[meta][MekanismUtils.getBaseOrientation(side, tileEntity.facing)+(active ? 6 : 0)];
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user