Fixed Block.setBedOccupied ignoring 'occupied' parameter
This commit is contained in:
parent
56e347d05a
commit
5c78361b27
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
+ }
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue