mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 09:17:36 +01:00
Add SpawnReason.DEFAULT, to make SpawnReason.CUSTOM solely for plugins
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
df4bc1e67a
commit
10e415be50
@ -144,8 +144,12 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
|||||||
*/
|
*/
|
||||||
SLIME_SPLIT,
|
SLIME_SPLIT,
|
||||||
/**
|
/**
|
||||||
* When a creature is manually spawned
|
* When a creature is spawned by plugins
|
||||||
*/
|
*/
|
||||||
CUSTOM
|
CUSTOM,
|
||||||
|
/**
|
||||||
|
* When an entity is missing a SpawnReason
|
||||||
|
*/
|
||||||
|
DEFAULT
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user