diff --git a/src/main/java/club/siwoo/siwooclub/admin/Immortal.java b/src/main/java/club/siwoo/siwooclub/admin/Immortal.java index fba14af..5cafc7a 100644 --- a/src/main/java/club/siwoo/siwooclub/admin/Immortal.java +++ b/src/main/java/club/siwoo/siwooclub/admin/Immortal.java @@ -46,15 +46,6 @@ public boolean onCommand(CommandSender sender, Command command, String label, St player.spigot().sendMessage(ChatMessageType.ACTION_BAR, new TextComponent(ChatColor.GREEN + "Your Immortal Status Was Set to False")); } } - - if (args.length == 1) { - Player target = Bukkit.getPlayer[args.1]; // wont work but still have the idea - if(!target.isInvulnerable()) { - target.setInvulnerable(true); - } else if (target.isInvulnerable()) { - target.setInvulnerable(false); - } - } return true; }