added "banned (user) quietly" message

did i do this right, idk java
This commit is contained in:
DragonSlayer2189 2020-08-14 00:29:50 -04:00 committed by GitHub
parent 51e1191816
commit 8628e88e3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,10 @@ public class Command_ban extends FreedomCommand
} }
} }
} }
else
{
sender.sendMessage(ChatColor.GRAY + "Banned " + player.getName() + " quietly.");
}
// Kill player // Kill player
player.setHealth(0.0); player.setHealth(0.0);
} }
@ -172,4 +175,4 @@ public class Command_ban extends FreedomCommand
return true; return true;
} }
} }