aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit/mechanicedit/ValueEditSecret.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-12 21:16:58 +0900
committersyeyoung <cyong06@naver.com>2021-02-12 21:16:58 +0900
commit77af3008dba9efab778555093191ecf8817e0ed3 (patch)
tree0440e57ff7eb6758ada65bf0fa7341d055f85ecb /src/main/java/kr/syeyoung/dungeonsguide/roomedit/mechanicedit/ValueEditSecret.java
parent5cac3f67b8d77bbf10b1c6cff1137f695a11f0f0 (diff)
downloadSkyblock-Dungeons-Guide-77af3008dba9efab778555093191ecf8817e0ed3.tar.gz
Skyblock-Dungeons-Guide-77af3008dba9efab778555093191ecf8817e0ed3.tar.bz2
Skyblock-Dungeons-Guide-77af3008dba9efab778555093191ecf8817e0ed3.zip
smol fix
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit/mechanicedit/ValueEditSecret.java')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/mechanicedit/ValueEditSecret.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/mechanicedit/ValueEditSecret.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/mechanicedit/ValueEditSecret.java
index 18d1195e..ceda3e6d 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/mechanicedit/ValueEditSecret.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/mechanicedit/ValueEditSecret.java
@@ -41,7 +41,7 @@ public class ValueEditSecret extends MPanel implements ValueEdit<DungeonSecret>
value = new MValue(dungeonSecret.getSecretPoint(), Collections.emptyList());
add(value);
- selectionButton = new MStringSelectionButton(Arrays.asList(new String[] {"CHEST", "BAT", "ITEM_DROP", "ESSENCE"}), "CHEST");
+ selectionButton = new MStringSelectionButton(Arrays.asList(new String[] {"CHEST", "BAT", "ITEM_DROP", "ESSENCE"}), dungeonSecret.getSecretType().name());
selectionButton.setOnUpdate(new Runnable() {
@Override
public void run() {