Update NetServer.java

This commit is contained in:
Anuken
2019-09-02 12:37:25 -04:00
committed by GitHub
parent 9eed39c2ae
commit 2c0d2c5e22

View File

@ -328,7 +328,7 @@ public class NetServer implements ApplicationListener{
}
});
clientCommands.<Player>register("vote", "<y/n>", "Vote to kick the current player.", (args, player) -> {
clientCommands.<Player>register("vote", "<y/n>", "Vote to kick the current player.", (arg, player) -> {
if(currentlyKicking[0] == null){
player.sendMessage("[scarlet]Nobody is being voted on.");
}else{