disabled mansion and igloo finders

This commit is contained in:
Unknown
2020-02-05 17:08:34 -05:00
parent d8c4a4f13b
commit 2f842b5fbe
2 changed files with 4 additions and 14 deletions
@@ -1,10 +0,0 @@
package kaptainwutax.seedcracker.finder;
public class DefaultFinderConfig extends FinderConfig {
public DefaultFinderConfig() {
this.typeStates.put(Type.IGLOO, false);
this.typeStates.put(Type.MANSION, false);
}
}
@@ -18,9 +18,9 @@ public class FinderConfig {
protected Map<Type, Boolean> typeStates = new HashMap<>();
protected Map<Type, ConcurrentLinkedQueue<Finder>> activeFinders = new ConcurrentHashMap<>();
public FinderConfig() {
public FinderConfig(boolean defaultState) {
for(Type type: Type.values()) {
this.typeStates.put(type, true);
this.typeStates.put(type, defaultState);
}
}
@@ -69,11 +69,11 @@ public class FinderConfig {
BURIED_TREASURE(BuriedTreasureFinder::create, Category.STRUCTURES),
DESERT_TEMPLE(DesertTempleFinder::create, Category.STRUCTURES),
END_CITY(EndCityFinder::create, Category.STRUCTURES),
IGLOO(IglooFinder::create, Category.STRUCTURES),
//IGLOO(IglooFinder::create, Category.STRUCTURES),
JUNGLE_TEMPLE(JungleTempleFinder::create, Category.STRUCTURES),
MONUMENT(OceanMonumentFinder::create, Category.STRUCTURES),
SWAMP_HUT(SwampHutFinder::create, Category.STRUCTURES),
MANSION(MansionFinder::create, Category.STRUCTURES),
//MANSION(MansionFinder::create, Category.STRUCTURES),
SHIPWRECK(ShipwreckFinder::create, Category.STRUCTURES),
END_PILLARS(EndPillarsFinder::create, Category.OTHERS),