Moved into EntityVillager
This commit is contained in:
parent
2028b0aa7f
commit
7afbc1ab93
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
|||
--- ../src-base/common/net/minecraft/src/ItemMonsterPlacer.java
|
||||
+++ ../src-work/common/net/minecraft/src/ItemMonsterPlacer.java
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
import cpw.mods.fml.common.Side;
|
||||
import cpw.mods.fml.common.asm.SideOnly;
|
||||
+import cpw.mods.fml.common.registry.VillagerRegistry;
|
||||
+
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
@@ -80,7 +82,7 @@
|
||||
if (var8 instanceof EntityVillager)
|
||||
{
|
||||
EntityVillager var9 = (EntityVillager)var8;
|
||||
- var9.func_70938_b(var9.func_70681_au().nextInt(5));
|
||||
+ VillagerRegistry.applyRandomTrade(var9, var9.func_70681_au());
|
||||
p_77840_0_.func_72838_d(var9);
|
||||
return true;
|
||||
}
|
Loading…
Reference in a new issue