Add SpawnReason.DEFAULT, to make SpawnReason.CUSTOM solely for plugins
This commit is contained in:
parent
92821498f0
commit
55c12d5dd5
@ -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…
x
Reference in New Issue
Block a user