-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor
-
None
-
Affects Version/s: None
-
None
-
Environment:
Tested on build 2454 but applies to prior Spigot 1.14.4 builds too.
Various Linux x86_64, Java 8 and 12.
-
git-Spigot-a596182-edd8fdf (MC: 1.14.4)
-
WorldGuard
-
Yes
When Ravagers move near crops, they break the crop block but do not trample the soil back to dirt. According to the WorldGuard dev, BlockCrops.a() needs to raise an event for the code that deals with Ravagers there.
I have been informed by the WorldGuard dev in this discussion (WorldGuard-4133) that WorldGuard would need either an EntityChangeBlockEvent, or EntityInteractEvent in order to detect the Ravager's actions. The former event seems more appropriate.
Examination of the BlockCrops source code indicates that no event is raised when the Ravager gets involved.
My test region has "mob-damage deny", "ravager-grief deny", "block-trampling deny" and "block-break deny" WorldGuard flags.