From 089f13c18c28bb92e19f223d9c491a19a7063cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=81=AA=E8=81=AA?= <178666380@qq.com> Date: Fri, 28 Jul 2017 18:49:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8E=8B=E5=8A=9B=E6=9D=BF?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E6=97=A0=E9=99=90=E9=80=92=E5=BD=92=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../block/BlockBasePressurePlate.java.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/net/minecraft/block/BlockBasePressurePlate.java.patch b/patches/net/minecraft/block/BlockBasePressurePlate.java.patch index ddfb36a..0948130 100644 --- a/patches/net/minecraft/block/BlockBasePressurePlate.java.patch +++ b/patches/net/minecraft/block/BlockBasePressurePlate.java.patch @@ -30,3 +30,16 @@ if (p_150062_5_ != i1) { p_150062_1_.setBlockMetadataWithNotify(p_150062_2_, p_150062_3_, p_150062_4_, this.func_150066_d(i1), 2); +@@ -141,7 +156,11 @@ + + if (flag1) + { +- p_150062_1_.scheduleBlockUpdate(p_150062_2_, p_150062_3_, p_150062_4_, this, this.tickRate(p_150062_1_)); ++ if(i1!=p_150062_5_){ ++ p_150062_1_.scheduleBlockUpdate(p_150062_2_, p_150062_3_, p_150062_4_, this, this.tickRate(p_150062_1_)); ++ }else{ ++ p_150062_1_.func_147446_b(p_150062_2_, p_150062_3_, p_150062_4_, this, this.tickRate(p_150062_1_),0); ++ } + } + } +