diff options
author | syeyoung <cyong06@naver.com> | 2021-02-26 01:26:44 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-02-26 01:26:44 +0900 |
commit | 3fbf9d1a6810485279ec3eed0378614a59a2315c (patch) | |
tree | 1f123b070982a4df4d2f0ec90cbde3ac7b741de1 /src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java | |
parent | 1a1e216a3e58f13a6ecec14c726283943497d119 (diff) | |
download | Skyblock-Dungeons-Guide-3fbf9d1a6810485279ec3eed0378614a59a2315c.tar.gz Skyblock-Dungeons-Guide-3fbf9d1a6810485279ec3eed0378614a59a2315c.tar.bz2 Skyblock-Dungeons-Guide-3fbf9d1a6810485279ec3eed0378614a59a2315c.zip |
ok loc config
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java index cbb60556..646cd0e5 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java @@ -20,11 +20,11 @@ public class GuiGuiLocationConfig extends GuiScreen { private MPanel mainPanel = new MPanel(); private GuiScreen before; - public GuiGuiLocationConfig(final GuiScreen before) { + public GuiGuiLocationConfig(final GuiScreen before, AbstractFeature featureWhitelist) { this.before = before; for (AbstractFeature feature : FeatureRegistry.getFeatureList()) { if (feature instanceof GuiFeature && feature.isEnabled()) { - mainPanel.add(new PanelDelegate((GuiFeature) feature)); + mainPanel.add(new PanelDelegate((GuiFeature) feature, featureWhitelist == null || feature == featureWhitelist)); } } |