-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added config to disable BOP's Wandering Trader trades (Closes #2184)
- Loading branch information
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
common/src/main/java/biomesoplenty/config/GameplayConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/******************************************************************************* | ||
* Copyright 2024, the Glitchfiend Team. | ||
* All rights reserved. | ||
******************************************************************************/ | ||
package biomesoplenty.config; | ||
|
||
import biomesoplenty.core.BiomesOPlenty; | ||
import glitchcore.config.Config; | ||
import glitchcore.util.Environment; | ||
|
||
public class GameplayConfig extends Config | ||
{ | ||
public boolean wanderingTraderTrades; | ||
|
||
public GameplayConfig() | ||
{ | ||
super(Environment.getConfigPath().resolve(BiomesOPlenty.MOD_ID + "/gameplay.toml")); | ||
} | ||
|
||
@Override | ||
public void load() | ||
{ | ||
wanderingTraderTrades = add("general.wandering_trader_trades", true, "Add various BOP resources to the Wandering Trader trade pool."); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters