mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Fix compile error in ClientHax's PR.
This commit is contained in:
1 parent
d82e80b2cf
commit
1af0734f51
1 file changed
+2
-2
@@ -1,12 +1,12 @@
|
||||
--- ../src-base/minecraft/net/minecraft/entity/EntitySpawnPlacementRegistry.java
|
||||
+++ ../src-work/minecraft/net/minecraft/entity/EntitySpawnPlacementRegistry.java
|
||||
@@ -45,6 +45,10 @@
|
||||
@@ -45,6 +45,12 @@
|
||||
return (EntityLiving.SpawnPlacementType)field_180110_a.get(p_180109_0_);
|
||||
}
|
||||
|
||||
+ public static void setPlacementType(Class<? extends Entity> entityClass, EntityLiving.SpawnPlacementType placementType)
|
||||
+ {
|
||||
+ if(!field_180110_a.contains(entityClass))
|
||||
+ if(!field_180110_a.containsKey(entityClass))
|
||||
+ field_180110_a.put(entityClass, placementType);
|
||||
+ }
|
||||
+
|
||||
|
||||
Reference in new issue
Block a user