Change to allow items to interact with villagers (#4194)

This commit is contained in:
P3pp3rF1y authored and mezz committed 2017-10-04 22:23:09 -07:00
1 parent 146e1ecd94
commit 949c8c20d4
1 file changed
+9
@@ -18,6 +18,15 @@
}
}
@@ -251,7 +251,7 @@
itemstack.func_111282_a(p_184645_1_, this, p_184645_2_);
return true;
}
- else if (!this.func_190669_a(itemstack, this.getClass()) && this.func_70089_S() && !this.func_70940_q() && !this.func_70631_g_())
+ else if (!this.func_190669_a(itemstack, this.getClass()) && this.func_70089_S() && !this.func_70940_q() && !this.func_70631_g_() && !p_184645_1_.func_70093_af())
{
if (this.field_70963_i == null)
{
@@ -323,6 +323,7 @@
{
super.func_70014_b(p_70014_1_);