You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
782 B
18 lines
782 B
--- ../src-base/minecraft/net/minecraftforge/event/entity/living/LivingSpawnEvent.java |
|
+++ ../src-work/minecraft/net/minecraftforge/event/entity/living/LivingSpawnEvent.java |
|
@@ -48,6 +48,7 @@ |
|
public CheckSpawn(EntityLiving entity, World world, float x, float y, float z) |
|
{ |
|
super(entity, world, x, y, z); |
|
+ entity.spawnReason = "natural"; // Cauldron - used to handle CraftBukkit's SpawnReason with CustomSpawners |
|
} |
|
} |
|
|
|
@@ -71,6 +72,7 @@ |
|
public SpecialSpawn(EntityLiving entity, World world, float x, float y, float z) |
|
{ |
|
super(entity, world, x, y, z); |
|
+ entity.spawnReason = "spawner"; // Cauldron - used to handle CraftBukkit's SpawnReason with CustomSpawners |
|
} |
|
} |
|
|
|
|