Added a config option to entirely disable server side cui.

This commit is contained in:
Matthew Miller
2018-08-18 19:42:45 +10:00
parent 0cbfc9308e
commit eba91cac5f
7 changed files with 13 additions and 0 deletions

View File

@ -636,6 +636,10 @@ public class LocalSession {
return; // This is for players only.
}
if (!config.serverSideCUI) {
return; // Disabled in config.
}
Player player = (Player) actor;
if (!useServerCUI || hasCUISupport) {