This commit is contained in:
Ilya246 2022-06-13 16:30:53 +04:00 committed by GitHub
parent 3c26ad3ec7
commit 0d6303c841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -815,7 +815,7 @@ public class ServerControl implements ApplicationListener{
if(target != null){
if(add){
netServer.admins.adminPlayer(target.id, target.adminUsid);
netServer.admins.adminPlayer(target.id, playert == null ? target.adminUsid : playert.usid());
}else{
netServer.admins.unAdminPlayer(target.id);
}