mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 15:03:04 +00:00
Update MCP to 20170624
This commit is contained in:
1 parent
b0dfaa2b81
commit
d769d83224
6 files changed
+9
-9
No files matched your search
@@ -62,12 +62,12 @@ public class BabyEntitySpawnEvent extends Event
|
||||
//causedByPlayer calculated here to simplify the patch.
|
||||
EntityPlayer causedByPlayer = null;
|
||||
if (parentA instanceof EntityAnimal) {
|
||||
causedByPlayer = ((EntityAnimal)parentA).func_191993_do();
|
||||
causedByPlayer = ((EntityAnimal)parentA).getLoveCause();
|
||||
}
|
||||
|
||||
if (causedByPlayer == null && parentB instanceof EntityAnimal)
|
||||
{
|
||||
causedByPlayer = ((EntityAnimal)parentB).func_191993_do();
|
||||
causedByPlayer = ((EntityAnimal)parentB).getLoveCause();
|
||||
}
|
||||
|
||||
this.parentA = parentA;
|
||||
|
||||
Reference in new issue
Block a user