Get Lightning ground location

Discussion in 'Plugin Development' started by Wundark, Oct 6, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Wundark

  2. Offline

    Drkmaster83

    Well, there's a way to make lightning strike a player, so there must be some sort of way.
     
  3. This may work havent tested it so if it doesnt work please let me know :)
    PHP:
        @EventHandler
        
    public void LightningStrikeLocation(LightningStrikeEvent e){
            
    Location d1 e.getLightning().getLocation(); //<==== line your looking for
        
    }
     
Thread Status:
Not open for further replies.

Share This Page