Added World.strikeLightningEffect() that does no damage.

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2011-05-06 19:25:44 -07:00
parent 4023a32a54
commit bf5e68b18b
2 changed files with 10 additions and 0 deletions

View File

@@ -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;
}
}