diff options
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); } } |