1
0
Fork 0

修复刷铁轨BUG

kcx-1614
聪聪 2017-07-20 14:59:26 +08:00
parent 5fcbe3c63a
commit 24324b91df
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- ../src-base/minecraft/net/minecraft/block/BlockRailBase.java
+++ ../src-work/minecraft/net/minecraft/block/BlockRailBase.java
@@ -98,7 +98,7 @@
{
this.func_150052_a(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_, true);
- if (this.field_150053_a)
+ if (this.field_150053_a&&p_149726_1_.getBlock(p_149726_2_,p_149726_3_,p_149726_4_)==this)
{
this.onNeighborBlockChange(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_, this);
}