Log who skipped the wave to the console (#4825)

This commit is contained in:
Patrick 'Quezler' Mounier 2021-03-01 15:47:23 +01:00 committed by GitHub
parent 5f83c92829
commit 4019c49fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -725,6 +725,7 @@ public class NetServer implements ApplicationListener{
//no verification is done, so admins can hypothetically spam waves
//not a real issue, because server owners may want to do just that
logic.skipWave();
info("&lc@ has skipped the wave.", player.name);
}else if(action == AdminAction.ban){
netServer.admins.banPlayerIP(other.con.address);
netServer.admins.banPlayerID(other.con.uuid);