Move villager trading hook up a bit. thanks sengir.

This commit is contained in:
Christian 2012-08-22 11:50:03 -04:00
parent 7ff1e60af9
commit 1720382475

View file

@ -18,12 +18,12 @@
} }
} }
@@ -400,6 +402,8 @@ @@ -393,6 +395,8 @@
func_70949_b(var2, Item.field_77782_ar.field_77779_bT, this.field_70146_Z, 0.3F);
func_70949_b(var2, Item.field_77734_bj.field_77779_bT, this.field_70146_Z, 0.3F);
} }
Collections.shuffle(var2);
+ +
+ VillagerRegistry.manageVillagerTrades(var2, this, this.func_70946_n(), this.field_70146_Z); + VillagerRegistry.manageVillagerTrades(var2, this, this.func_70946_n(), this.field_70146_Z);
if (this.field_70963_i == null) if (var2.isEmpty())
{ {