Blocks already partially changed in "BEFORE_CHANGE" stage in EditSessionEvent
LadyCailinBot opened this issue ยท 2 comments
WORLDEDIT-3101 - Reported by Intelli
I'm attempting to use the BEFORE_CHANGE stage from the EditSessionEvent for logging block changes.
However, container inventories (e.g. chests) appear to already be wiped when this event runs, making it impossible to compare container states for transaction logging.
Using the "BEFORE_REORDER" stage works properly. However, according to sk89q, "injecting a callback early on is not a good idea if you want something that is meant to see all changes"
Is this intentional behavior, or is the BEFORE_CHANGE stage supposed to fire before any block modifications have been made?
Thanks
Comment by sk89q
This should be fixed now with bf06229