Fixed Block.setBedOccupied ignoring 'occupied' parameter

This commit is contained in:
Aaron Hill 2016-10-31 20:45:43 -04:00 committed by LexManos
parent 56e347d05a
commit 5c78361b27
1 changed files with 1 additions and 1 deletions

View File

@ -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);
+ }
+ }