-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Describe_the_bug: |
When the nomobs flag is enabled in a residence, Phantom mobs are still able to
spawn or enter the residence and attack players.
According to the flag description, nomobs should prevent mobs from entering
the residence when AutoMobRemoval is enabled. However, Phantom spawning
does not appear to be affected by this flag.
To_Reproduce: |
Steps to reproduce the behavior:
- Create a residence.
- Enable the flag:
/res set nomobs true - Ensure
AutoMobRemovalis enabled in the Residence configuration. - Stay awake long enough for Phantom spawning conditions to trigger.
- Phantom will spawn above or enter the residence and attack the player
inside the residence.
Screenshots: |
Not applicable.
Server_version: |
Output from /res version:
Residence version: 6.0.1.6
CMILib version: 1.5.8.8
Java version: 21.0.5
Server software:
LightingLuminol 1.21.11-DEV-ver/1.21.11@36c3ec0
API version: 1.21.11-R0.1-SNAPSHOT
Additional_context: |
Other hostile mobs appear to be handled correctly by the nomobs flag,
but Phantom is not affected.
This might be related to Phantom using a special spawning mechanic
(player-triggered phantom spawn) rather than standard hostile mob
spawning events.
Expected behavior:
- Phantom should not spawn inside the residence area when
nomobs
is enabled