Fix strikeLightningEffect powers lightning rods and clears copper

This commit is contained in:
Tamion
2023-09-30 12:36:14 +02:00
parent e93201e90b
commit cb16d3df2c
3 changed files with 38 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ public class CraftLightningStrike extends CraftEntity implements LightningStrike
@Override
public boolean isEffect() {
return this.getHandle().visualOnly;
return this.getHandle().isEffect; // Paper - Properly handle lightning effects api
}
public int getFlashes() {