[SPIGOT-4409] Canceling spawning of creatures/monsters does not prevent Phantoms from spawning. Created: 03/Oct/18  Updated: 03/Oct/18  Resolved: 03/Oct/18

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Brian Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: 1.13.1, bug, creatures, mobs, monsters, spawning
Environment:

CentOS 7.


Version: 1.13.1
Guidelines Read: Yes

 Description   

Natural and egg spawning of Phantoms still happens when all forms of entity spawning are canceled.



 Comments   
Comment by Brian [ 03/Oct/18 ]

if the entity is instance of Monster or Creature, cancel CreatureSpawnEvent

are Phantoms not creatures or monsters?

edit: oh, they aren't! this can be closed.

Comment by Black Hole [ 03/Oct/18 ]

Please provide some code to reproduce the issue.
Phantom will be spawned naturally if one player didn't sleep for a while. Spigot will call the CreatureSpawnEvent with SpawnReason.NATURAL.
Please make sure to run the current Spigot version by rerunning BuildTools and using the output.
Please provide the output of the /version command.
Please make sure that all phantoms are killed before testing again or use a new world.

Generated at Tue Apr 22 07:16:07 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.