mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 13:46:10 +03:00
19 lines
628 B
Diff
19 lines
628 B
Diff
--- ../src-base/minecraft/net/minecraftforge/event/entity/living/LivingSpawnEvent.java
|
|
+++ ../src-work/minecraft/net/minecraftforge/event/entity/living/LivingSpawnEvent.java
|
|
@@ -75,6 +75,7 @@
|
|
public CheckSpawn(EntityLiving entity, World world, float x, float y, float z)
|
|
{
|
|
super(entity, world, x, y, z);
|
|
+ entity.spawnReason = "natural";
|
|
}
|
|
}
|
|
|
|
@@ -97,6 +98,7 @@
|
|
public SpecialSpawn(EntityLiving entity, World world, float x, float y, float z)
|
|
{
|
|
super(entity, world, x, y, z);
|
|
+ entity.spawnReason = "spawner";
|
|
}
|
|
}
|
|
|