mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Fix glow panel placement, fixed damage displays (again), start work on new inventory system
This commit is contained in:
1 parent
2aad738c3d
commit
fa7b9b49bc
14 files changed
+70
-27
No files matched your search
@@ -52,11 +52,11 @@ public class ItemBlockGlowPanel extends ItemBlock
|
||||
TileEntityGlowPanel tileEntity = (TileEntityGlowPanel)world.getTileEntity(pos);
|
||||
EnumColor col = EnumColor.DYES[stack.getItemDamage()];
|
||||
|
||||
BlockPos pos1 = pos.offset(side);
|
||||
BlockPos pos1 = pos.offset(side.getOpposite());
|
||||
|
||||
if(world.isSideSolid(pos1, side.getOpposite()))
|
||||
if(world.isSideSolid(pos1, side))
|
||||
{
|
||||
tileEntity.setOrientation(side);
|
||||
tileEntity.setOrientation(side.getOpposite());
|
||||
}
|
||||
|
||||
tileEntity.setColour(col);
|
||||
|
||||
Reference in new issue
Block a user