Enchantable
Enchantable copied to clipboard
Invalid abort digging packets sent to server
This line is sending an invalid abort dig packet to the server, because the player's current targeted block (playerController.currentBlock
) is -1, -1, -1
.
This causes issues with WorldEdit because it expects only legitimate events, and it will incorrectly think someone is re-clicking their axe at -1, -1, -1
.
The solution to this is probably to avoid sending this if the player doesn't currently have a targeted block, since there's no reason for it to be sent in that case, in my understanding.