WorldGuard region condition not working with Spawners
Summary
Currently, no mob is capable of spawning within a WorldGuard region using the Conditions system (both new and old) using Spawners (not RandomSpawns) from MythicMobs.
Steps to reproduce
- Create any kind of Spawner (here is mine)
- Give the spawner the inregion condition using the command
/mm s addcondition <SpawnerName> inregion <RegionName>
(in my case I execute the following command: /mm s addcondition CowSpawner inregion cowarea
as my Spawner is called "CowSpawner" and my WorldGuard region is called "cowarea".)
Current behavior
The mob is allowed to spawn outside the WorldGuard region, as shown in the photo of a cow being outside the fence-area (which is the WorldGuard region).
Intended correct behavior
The mob should only be allowed to spawn inside the WorldGuard region from the Condition.
Server log file
Here is the log file (the "done!" section is marked with an arrow and at the bottom is me connecting to the server). https://pastebin.com/wTr9U2R0
Debug log snippet
Here is the same latest.log file but at the very bottom after I enable debug 4 using /mm debug 4
.
https://pastebin.com/S3nnSdBd
Proposed fixes
I am not sure what the fix could be; I have tried manually editing the CowSpawner.yml file after turning off my server and turning the condition into the new conditions system, as well as tried the old system from the command but without the SPACE at the end in the - 'inregion cowarea '
condition.
I have also double-checked the WorldGuard region area, as well as tried to edit the location of the region and completely deleting it and creating it again with no success.
I have also tried restarting the server, re-create the Spawner by deleting and creating it again, tried to re-create the cow itself by deleting and creating it again, and tried to use different version of MythicMobs (currently on the latest DEV version).