Skip to content

Commit

Permalink
Fix SlayersConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthegreat1 committed Aug 12, 2024
1 parent 1036391 commit 507e962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public static ConfigCategory create(SkyblockerConfig defaults, SkyblockerConfig
return ConfigCategory.createBuilder()
.name(Text.translatable("skyblocker.config.slayer"))

//General Slayers Options
.option(Option.<SlayersConfig.HighlightSlayerEntities>createBuilder()
.name(Text.translatable("skyblocker.config.slayer.highlightMinis"))
.description(OptionDescription.of(
Expand Down Expand Up @@ -163,6 +164,7 @@ public static ConfigCategory create(SkyblockerConfig defaults, SkyblockerConfig
.build())
.build())

//Blaze Slayer
.group(OptionGroup.createBuilder()
.name(Text.translatable("skyblocker.config.slayer.blazeSlayer"))
.collapsed(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ public enum HighlightSlayerEntities {
public EndermanSlayer endermanSlayer = new EndermanSlayer();

@SerialEntry
public BlazeSlayer blazeSlayer = new BlazeSlayer();
public VampireSlayer vampireSlayer = new VampireSlayer();

@SerialEntry
public VampireSlayer vampireSlayer = new VampireSlayer();
public BlazeSlayer blazeSlayer = new BlazeSlayer();

public static class EndermanSlayer {
@SerialEntry
Expand Down

0 comments on commit 507e962

Please sign in to comment.