Closed Johnmacrocraft closed 3 years ago
Dead bushes should also not be able to replace grass
I doubt that's intentional behaviour. Dead bush is non-replaceable, and non-replaceable pretty much always takes precedence over replaceable from what I've seen.
I'd recommend testing in PC 1.13 and not MCPE. (this doesn't imply that I've tested this myself, but as a side note.)
re to the bush issue: In PC 1.14 snapshots they are not placeable on grass blocks, but can replace tallgrass.
As far as I can tell, the behaviour is that any replaceable block can be replaced by anything except itself. This is a little difficult to implement in PM due to how block placement currently works. It will necessitate block transactions.
Fixed by 334bf1277d6897cbc237b7be5f7c5f6ad7d8e8f1.
Issue description
Players can replace grass (this also includes tallgrass) with any of grasses. This does not happen in vanilla.
Steps to reproduce the issue
OS and versions
Tested on PocketMine-MP master branch server
Plugins
Once again, tested on PocketMine-MP master branch server
Crashdump, backtrace or other files