mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-06 08:18:13 +07:00
bugfix (#7010)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user