Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit 095e15e

Browse files
committed
bugfix
1 parent fdc2071 commit 095e15e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

StreamRaidersBot/GraphicalUserInterface/src/userInterface/viewer/ViewerProfileSection.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import include.GUI.Label;
1313
import otherlib.Configs;
1414
import otherlib.Logger;
15+
import otherlib.Options;
1516
import run.Manager;
1617
import userInterface.Colors;
1718
import userInterface.MainFrame;
@@ -48,7 +49,7 @@ public Container create() {
4849
pname.setForeground(Colors.getColor("main labels"));
4950
head.addLabel(pname, MainFrame.pspre+cid+"::pname");
5051

51-
if(Configs.getPBoo(cid, Configs.canCaptain)) {
52+
if(Configs.getPBoo(cid, Configs.canCaptain) && Options.is("captain_beta")) {
5253
Button bcap = new Button();
5354
bcap.setPos(p++, 0);
5455
bcap.setText("switch");

0 commit comments

Comments
 (0)