the camper (#8806)
This commit is contained in:
@@ -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
|
//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, () -> {
|
t.button("@player.team", Icon.redo, bstyle, () -> {
|
||||||
var teamSelect = new BaseDialog(Core.bundle.get("player.team") + ": " + user.name);
|
var teamSelect = new BaseDialog(Core.bundle.get("player.team") + ": " + user.name);
|
||||||
teamSelect.setFillParent(false);
|
teamSelect.setFillParent(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user