Commits

Julian v.d Berkmortel authored and md_5 committed edf1881e6ae
SPIGOT-6200: Add COMMAND to the CreateSpawnEvent.SpawnReason enum
No tags

src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java

Modified
170 170 */
171 171 PATROL,
172 172 /**
173 173 * When a bee is released from a beehive/bee nest
174 174 */
175 175 BEEHIVE,
176 176 /**
177 177 * When a piglin is converted to a zombified piglib.
178 178 */
179 179 PIGLIN_ZOMBIFIED,
180 + /**
181 + * When a creature is spawned by the "/summon" command
182 + */
183 + COMMAND,
180 184 /**
181 185 * When a creature is spawned by plugins
182 186 */
183 187 CUSTOM,
184 188 /**
185 189 * When an entity is missing a SpawnReason
186 190 */
187 191 DEFAULT
188 192 }
189 193 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut