The adjacent blocks of doors, double plants, pistons and beds need to be updated manually from the server when cancelling a block break from a player, as it otherwise causes the other parts to disappear on the client. This is already done for doors but only for the BlockBreakEvent, not for PlayerInteractEvent. Move the code to a common method and also handle the other blocks in similar ways.
6.2 KiB
6.2 KiB