DimitriTheReader

Raio-Erro

May 6th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public boolean onCommand(CommandSender sender, Command command,
  2. String label, String[] args) {
  3. if (command.getName().equalsIgnoreCase("raio")) {
  4. Player target = sender.getServer().getPlayer(args[0]);
  5. target.getWorld().strikeLightning(target.getLocation());
  6. return true;
  7. }
  8. return false;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment