mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-15 15:20:57 -08:00
bugfix (#7010)
This commit is contained in:
parent
3c26ad3ec7
commit
0d6303c841
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue