Fixed Block.setBedOccupied ignoring 'occupied' parameter

This commit is contained in:
Aaron Hill authored and LexManos committed 2016-10-31 17:45:43 -07:00
1 parent 56e347d05a
commit 5c78361b27
1 file changed
+1 -1
@@ -629,7 +629,7 @@
+ {
+ IBlockState state = world.func_180495_p(pos);
+ state = state.func_177230_c().func_176221_a(state, world, pos);
+ state = state.func_177226_a(BlockBed.field_176471_b, true);
+ state = state.func_177226_a(BlockBed.field_176471_b, occupied);
+ ((World)world).func_180501_a(pos, state, 4);
+ }
+ }