Skip to content

Commit

Permalink
add everything to "skyblock" category
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadlyMC committed Oct 17, 2019
1 parent e24aa41 commit 8f64138
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/skyblock/SkyBlockSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@

public class SkyBlockSettings
{
@Rule(desc = "Better potions", category = {EXPERIMENTAL, FEATURE}, validate = BetterPotionListener.class)
public static final String SKYBLOCK = "skyblock";

@Rule(desc = "Better potions", category = {SKYBLOCK, EXPERIMENTAL, FEATURE}, validate = BetterPotionListener.class)
public static boolean betterPotions = false;

public static class BetterPotionListener extends Validator<Boolean> {
Expand All @@ -28,7 +30,7 @@ public Boolean validate(ServerCommandSource source, ParsedRule<Boolean> currentR
}
}

@Rule(desc = "Add trades to the wandering trader for Skyblock", category = {EXPERIMENTAL, FEATURE}, validate = WanderingTraderSkyblockTradesChange.class)
@Rule(desc = "Add trades to the wandering trader for Skyblock", category = {SKYBLOCK, EXPERIMENTAL, FEATURE}, validate = WanderingTraderSkyblockTradesChange.class)
public static boolean wanderingTraderSkyblockTrades = false;

public static class WanderingTraderSkyblockTradesChange extends Validator<Boolean> {
Expand All @@ -49,11 +51,11 @@ public Boolean validate(ServerCommandSource source, ParsedRule<Boolean> currentR
"Right click a daylight sensor with a light source to toggle.",
"No visual indicator besides redstone power is given."
},
category = {FEATURE, EXPERIMENTAL}
category = {SKYBLOCK, FEATURE, EXPERIMENTAL}
)
public static boolean blockLightDetector = false;

@Rule(desc = "Fixes exit end portal generating too low", extra = "Fixes MC-93185", category = BUGFIX)
@Rule(desc = "Fixes exit end portal generating too low", extra = "Fixes MC-93185", category = {SKYBLOCK, BUGFIX})
public static boolean endPortalFix = true;

}

0 comments on commit 8f64138

Please sign in to comment.