Skip to content

Commit

Permalink
add all negative dimensions to slime island blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
progwml6 committed Sep 9, 2013
1 parent b5fd270 commit 7e7266d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tconstruct/compat/dimensions/dimblacklist.java
Expand Up @@ -8,7 +8,6 @@
public class dimblacklist {
public static ArrayList<Integer> blacklist = new ArrayList<Integer>();
public static void getbaddimensions(){
blacklist.add(-1);
blacklist.add(1);
if (Tforest.tfdimid != -100){
blacklist.add(Tforest.tfdimid);
Expand All @@ -21,6 +20,8 @@ public static void getbaddimensions(){

}
public static boolean isDimInBlacklist(int dim){
if (dim<0)
return false;
for (int len = 0;len< blacklist.size(); len++){
if (blacklist.get(len) == dim)
return false;
Expand Down

0 comments on commit 7e7266d

Please sign in to comment.