We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caba1d6 commit a51e7b6Copy full SHA for a51e7b6
src/main/java/com/selfcoders/talkingmobs/EventListener.java
@@ -30,7 +30,7 @@ public void onCreatureSpawn(CreatureSpawnEvent event) {
30
Entity entity = event.getEntity();
31
CreatureSpawnEvent.SpawnReason spawnReason = event.getSpawnReason();
32
33
- if (spawnReason == CreatureSpawnEvent.SpawnReason.SPAWNER || spawnReason == CreatureSpawnEvent.SpawnReason.SPAWNER_EGG) {
+ if (spawnReason == CreatureSpawnEvent.SpawnReason.SPAWNER || spawnReason == CreatureSpawnEvent.SpawnReason.SPAWNER_EGG || spawnReason == CreatureSpawnEvent.SpawnReason.CUSTOM) {
34
message.sendMessage(entity, Message.EventType.spawned);
35
}
36
0 commit comments