Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 145
    • Issues 145
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #839

Closed
Open
Created Jun 22, 2022 by Livi // Frederik@LiviDk

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

  1. Create any kind of Spawner (here is mine)
  2. 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). 2022-06-22_14.13.21

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).

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking