Fix glow panel placement, fixed damage displays (again), start work on new inventory system

This commit is contained in:
aidancbrady committed 2017-03-28 23:21:06 -04:00
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);