mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Woops
This commit is contained in:
1 parent
31bcc661cd
commit
bb7a42dff5
2 files changed
+6
-6
No files matched your search
@@ -69,9 +69,9 @@ public class HiveConfig {
|
||||
|
||||
public static boolean isDimAllowed(int dimId) { //blacklist has priority
|
||||
if(blacklistedDims.isEmpty() || !blacklistedDims.contains(dimId)) {
|
||||
return whitelistedDims.contains(dimId);
|
||||
return whitelistedDims.isEmpty() || whitelistedDims.contains(dimId);
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public static void addBlacklistedDim(int dimId) {
|
||||
|
||||
@@ -179,16 +179,16 @@ public class Config {
|
||||
|
||||
public static boolean isValidOreDim(int dimID) { //blacklist has priority
|
||||
if(blacklistedOreDims.isEmpty() || !blacklistedOreDims.contains(dimID)) {
|
||||
return whitelistedOreDims.contains(dimID);
|
||||
return whitelistedOreDims.isEmpty() || whitelistedOreDims.contains(dimID);
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public static boolean isValidTreeDim(int dimID) { //blacklist has priority
|
||||
if(blacklistedTreeDims.isEmpty() || !blacklistedTreeDims.contains(dimID)) {
|
||||
return whitelistedTreeDims.contains(dimID);
|
||||
return whitelistedTreeDims.isEmpty() || whitelistedTreeDims.contains(dimID);
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public static void load(Side side) {
|
||||
|
||||
Reference in new issue
Block a user