mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-10-26 14:24:11 +00:00
Fix potential issue with reloading configs
This commit is contained in:
1 parent
6b15fb823f
commit
3b1d3e968d
1 file changed
+5
@@ -365,6 +365,11 @@ public class BloodMagicConfiguration
|
||||
}
|
||||
|
||||
private static void buildTeleposerBlacklist() {
|
||||
|
||||
// Make sure it's empty before setting the blacklist.
|
||||
// Otherwise, reloading the config while in-game will duplicate the list.
|
||||
AlchemicalWizardryEventHooks.teleposerBlacklist.clear();
|
||||
|
||||
for (String blockSet : BloodMagicConfiguration.teleposerBlacklist) {
|
||||
String[] blockData = blockSet.split(":");
|
||||
|
||||
|
||||
Reference in new issue
Block a user