Hotfix local chat on server switching
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
aab84e522f
Commit
839d534f55
@ -101,7 +101,7 @@ public class ChatListener extends BasicListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Subserver subserver = Subserver.getSubserver(sender);
|
Subserver subserver = Subserver.getSubserver(sender);
|
||||||
if(subserver != null && subserver.getType() == Servertype.ARENA)
|
if(subserver != null && subserver.getType() == Servertype.ARENA && subserver.getServer() == sender.getServer().getInfo())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren