[SPIGOT-6888] Add SpawnReason for evoker's vexes Created: 05/Jan/22 Updated: 13/Jan/22 Resolved: 13/Jan/22 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Zhenya Zima | Assignee: | Doc |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Version: | 1.18.1 |
Guidelines Read: | Yes |
Description |
Currently, if evoker spawns some vexes during the raid, CreatureSpawnEvent#getSpawnReason is SpawnReason.DEFAULT, and it's used "when an entity is missing a SpawnReason" (according to javadoc). I think that vexes in that case should have their own SpawnReason for convenience. Thanks! |
Comments |
Comment by Doc [ 05/Jan/22 ] |
Created PR for the missing spawnreason. https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/711/overview https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/991/overview |