From 949c8c20d4db4f562a70b69be62ac4783073e5fc Mon Sep 17 00:00:00 2001 From: P3pp3rF1y Date: Thu, 5 Oct 2017 07:23:09 +0200 Subject: [PATCH] Change to allow items to interact with villagers (#4194) --- .../minecraft/entity/passive/EntityVillager.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/minecraft/net/minecraft/entity/passive/EntityVillager.java.patch b/patches/minecraft/net/minecraft/entity/passive/EntityVillager.java.patch index 7983c6c971..1a9ca6a36d 100644 --- a/patches/minecraft/net/minecraft/entity/passive/EntityVillager.java.patch +++ b/patches/minecraft/net/minecraft/entity/passive/EntityVillager.java.patch @@ -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_);