This commit is contained in:
modmuss50 2018-05-17 11:00:35 +01:00
parent fc2c4cce0c
commit c20e1c72a9

View file

@ -154,7 +154,10 @@ public class BlockLamp extends BaseTileBlock {
}
public static EnumFacing getFacing(IBlockState state) {
return (EnumFacing)state.getValue(FACING);
if(!state.getProperties().containsKey(FACING)){
return EnumFacing.NORTH;
}
return state.getValue(FACING);
}
public static void setFacing(EnumFacing facing, World world, BlockPos pos) {