CoreProtect

CoreProtect

1M Downloads

Item destruction is not logged

ByteExceptionM opened this issue ยท 1 comments

commented

I have all settings in the config on true. I have debugged the class https://github.com/PlayPro/CoreProtect/blob/master/src/main/java/net/coreprotect/listener/player/PlayerItemBreakListener.java as well. The code goes up to here: https://github.com/PlayPro/CoreProtect/blob/master/src/main/java/net/coreprotect/listener/player/PlayerItemBreakListener.java#L33. What happens after that, no idea. In any case, it is not logged when, for example, I break a shovel.

image

image

I checked it with /co l include:wooden_shovel time:10m.
Result:
image

The queue is also empty:
image

commented

Item destruction is just logged under the players inventory data.

/co lookup username a:inventory t:1m

image

To rollback a players inventory, you also need to include a:inventory