PreciousStones

PreciousStones

269k Downloads

Request: Reducing the priority for onBlockBreak(BlockBreakEvent).

vk2gpz opened this issue ยท 1 comments

commented

It would be much appreciated if you could reduce the priority of the onBlockBreak(BlockBreakEvent) in PSBlockListener.java so that 3rd party plugin developer can detect the breaking of PStone and do something to the filed, which is about to be deleted.

Currently, PS field is already gone by the time the 3rd party plugin detected the BlockBreakEvent.

The current workaround is to store the PStone block and its field when the block get damage and retrieve it when the block is broken. However, this workaround does not work if a player is in creative mode.

commented

Ty!!!!