mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix EntityList.func_188429_b not supporting mod-entities, fixes spawn eggs, fixes #2581
This commit is contained in:
1 parent
5ad2fc90cb
commit
313d7bbc11
1 file changed
+10
@@ -38,3 +38,13 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -202,7 +214,8 @@
|
||||
|
||||
public static Entity func_188429_b(String p_188429_0_, World p_188429_1_)
|
||||
{
|
||||
- return func_75616_a(func_180122_a(p_188429_0_), p_188429_1_);
|
||||
+ Entity e = func_75620_a(p_188429_0_, p_188429_1_); // Forge: Support entities without global ID
|
||||
+ return e == null ? func_75620_a("Pig", p_188429_1_) : e;
|
||||
}
|
||||
|
||||
public static int func_75619_a(Entity p_75619_0_)
|
||||
Reference in new issue
Block a user