13
0
geforkt von Mirrors/Paper

Add SpawnReason.DEFAULT, to make SpawnReason.CUSTOM solely for plugins

By: feildmaster <admin@feildmaster.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2012-04-14 01:31:59 -05:00
Ursprung df4bc1e67a
Commit 10e415be50

Datei anzeigen

@ -144,8 +144,12 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
*/
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
}
}