Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2023-07-23 16:30:49 -04:00
5 changed files with 17 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ public class PlayerListFragment{
}
//there's generally no reason to team switch outside PvP or sandbox, and it's basically an easy way to cheat
if(state.rules.pvp || state.rules.infiniteResources){
if(!state.isCampaign() && (state.rules.pvp || state.rules.infiniteResources)){
t.button("@player.team", Icon.redo, bstyle, () -> {
var teamSelect = new BaseDialog(Core.bundle.get("player.team") + ": " + user.name);
teamSelect.setFillParent(false);