forked from hacker_marc/AdvancedKill
Upload Plugin
This commit is contained in:
commit
dafa05a66b
10 files changed
+368
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package de.marc.advancedKill.commands;
|
||||
|
||||
import de.marc.advancedKill.AdvancedKill;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class LightningCmd {
|
||||
private final AdvancedKill plugin;
|
||||
|
||||
public LightningCmd(AdvancedKill plugin) {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
|
||||
public void execute(CommandSender sender, Player target) {
|
||||
target.getWorld().strikeLightning(target.getLocation());
|
||||
sender.sendMessage("§aSuccess!");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user