Merge pull request #2401 from ShetiPhian/Fix-isBeaconBase-BlockPos
Fixed: the BlockPos passed to isBeaconBase
This commit is contained in:
commit
5257739d06
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
Block block = this.field_145850_b.func_180495_p(new BlockPos(j1, i2, k1)).func_177230_c();
|
||||
|
||||
- if (block != Blocks.field_150475_bE && block != Blocks.field_150340_R && block != Blocks.field_150484_ah && block != Blocks.field_150339_S)
|
||||
+ if (!block.isBeaconBase(this.field_145850_b, new BlockPos(l1, k1, j1), func_174877_v()))
|
||||
+ if (!block.isBeaconBase(this.field_145850_b, new BlockPos(j1, i2, k1), func_174877_v()))
|
||||
{
|
||||
flag1 = false;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue