diff options
author | syeyoung <cyong06@naver.com> | 2020-12-27 01:06:11 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2020-12-27 01:06:11 +0900 |
commit | 0ab8c554c9fa40aa7830aa1ff614673562bb21a4 (patch) | |
tree | 756d7ce99b11e98ba42799d291ef50db1cf49a0d /src/main/java/kr/syeyoung/dungeonsguide/features/SimpleFeature.java | |
parent | 4407ee1bf2d6dfc8946c27b23b20063028de8ce2 (diff) | |
download | Skyblock-Dungeons-Guide-0ab8c554c9fa40aa7830aa1ff614673562bb21a4.tar.gz Skyblock-Dungeons-Guide-0ab8c554c9fa40aa7830aa1ff614673562bb21a4.tar.bz2 Skyblock-Dungeons-Guide-0ab8c554c9fa40aa7830aa1ff614673562bb21a4.zip |
configurations
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features/SimpleFeature.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/features/SimpleFeature.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/SimpleFeature.java b/src/main/java/kr/syeyoung/dungeonsguide/features/SimpleFeature.java index cdeaaa44..893addfe 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/SimpleFeature.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/SimpleFeature.java @@ -2,9 +2,14 @@ package kr.syeyoung.dungeonsguide.features; public class SimpleFeature extends AbstractFeature { protected SimpleFeature(String category, String name, String key) { - super(category, name, name, key); + this(category, name, name, key); } protected SimpleFeature(String category, String name, String description, String key) { + this(category, name, description, key, true); + } + + protected SimpleFeature(String category, String name, String description, String key, boolean enabled) { super(category, name, description, key); + this.setEnabled(enabled); } } |