Added World.strikeLightningEffect() that does no damage.

This commit is contained in:
sk89q
2011-05-06 19:25:44 -07:00
parent c05cc33f7a
commit 6cbd4cdf9e
3 changed files with 26 additions and 4 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;
}
}