change storage format to short identifiers, fix bush update causing potential stack overflow on drop check
This commit is contained in:
parent
b9753203ec
commit
7fb0edff33
3 changed files with 56 additions and 56 deletions
|
@ -60,7 +60,7 @@ public class BlockBush extends Block
|
|||
if (!this.canBlockStay(worldIn, pos, state))
|
||||
{
|
||||
this.drop(worldIn, pos, state, 0);
|
||||
worldIn.setState(pos, Blocks.air.getState(), 3);
|
||||
worldIn.setState(pos, Blocks.air.getState(), 2); // avoid recursion
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue