canPlaceOn, canDestroy have no effect on clients #6460
Labels
Category: API
Related to the plugin API
Category: Gameplay
Related to Minecraft gameplay experience
Category: Protocol
Related to (changes in) the Minecraft network protocol
Status: Debugged
Cause of the bug has been found, but not fixed
Issue description
Item::setCanPlaceOn()
,Item::setCanDestroy()
should be able to change the item's behaviorThis issue is caused by this code:
PocketMine-MP/src/network/mcpe/convert/TypeConverter.php
Line 226 in 0a7cbdd
Steps to reproduce the issue
OS and versions
The text was updated successfully, but these errors were encountered: