[SPIGOT-7831] INFESTED & OOZING spawn reasons Created: 15/Jul/24 Updated: 25/Dec/24 Resolved: 16/Jul/24 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Tau | Assignee: | Doc |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Version: | 1.21 |
| Guidelines Read: | Yes |
| Description |
|
Add missing INFESTED and OOZING spawn reasons to CreatureSpawnEvent.SpawnReason.class Currently both silverfish and slimes spawned from these potion effects have the default spawn reason. |
| Comments |
| Comment by Doc [ 15/Jul/24 ] |
|
PR https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/1043/overview https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1449/overview
|
| Comment by Tau [ 15/Jul/24 ] |
|
That would work. |
| Comment by md_5 [ 15/Jul/24 ] |
|
Is there any reason they need to be separate, or would a new "POTION_EFFECT" be sufficient? |