mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 04:40:10 +07:00
bugfix (#7010)
This commit is contained in:
parent
3c26ad3ec7
commit
0d6303c841
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user