mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-27 02:13:52 -07:00
Added World.strikeLightningEffect() that does no damage.
This commit is contained in:
@@ -14,4 +14,8 @@ public class CraftLightningStrike extends CraftEntity implements LightningStrike
|
||||
public EntityWeatherStorm getHandle() {
|
||||
return (EntityWeatherStorm)super.getHandle();
|
||||
}
|
||||
|
||||
public boolean isEffect() {
|
||||
return ((EntityWeatherStorm) super.getHandle()).isEffect;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user