mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Fix compile
This commit is contained in:
parent
13786438fc
commit
82bf2e5436
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
boolean flag7 = (Boolean) iblockdata2.getValue(TripWireBlock.POWERED);
|
boolean flag7 = (Boolean) iblockdata2.getValue(TripWireBlock.POWERED);
|
||||||
|
|
||||||
flag5 |= flag6 && flag7;
|
flag5 |= flag6 && flag7;
|
||||||
+ if (k != i || !tripWireBeingRemoved || !flag6)) // Paper - don't update the tripwire again if being removed and not disarmed
|
+ if (k != i || !tripWireBeingRemoved || !flag6) // Paper - don't update the tripwire again if being removed and not disarmed
|
||||||
aiblockdata[k] = iblockdata2;
|
aiblockdata[k] = iblockdata2;
|
||||||
if (k == i) {
|
if (k == i) {
|
||||||
world.scheduleTick(pos, (Block) this, 10);
|
world.scheduleTick(pos, (Block) this, 10);
|
||||||
|
|
Loading…
Reference in a new issue