mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-08 06:48:07 +00:00
Cleanup various aspects of code, fix some formatting, more netbeans 7.4 stuff
This commit is contained in:
parent
d5196e31b2
commit
3e725ef060
65 changed files with 432 additions and 443 deletions
|
@ -5,7 +5,6 @@ import static com.earth2me.essentials.I18n._;
|
|||
import com.earth2me.essentials.User;
|
||||
import org.bukkit.Server;
|
||||
import org.bukkit.entity.LightningStrike;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
|
||||
public class Commandlightning extends EssentialsLoopCommand
|
||||
|
@ -20,7 +19,7 @@ public class Commandlightning extends EssentialsLoopCommand
|
|||
@Override
|
||||
public void run(final Server server, final CommandSource sender, final String commandLabel, final String[] args) throws Exception
|
||||
{
|
||||
User user = null;
|
||||
User user;
|
||||
if (sender.isPlayer())
|
||||
{
|
||||
user = ess.getUser(sender.getPlayer());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue