Thermal Expansion Rework

This commit is contained in:
Zixxl committed 2015-07-06 15:29:24 +02:00
1 parent 40605f5fa9
commit 22e09c9392
10 files changed
+651 -492

No files matched your search

@@ -17,7 +17,7 @@ public abstract class BaseListModification<T> extends BaseUndoable {
@Override
public boolean canUndo() {
if(list == null || recipes.isEmpty() || successful.isEmpty())
if(recipes.isEmpty() || successful.isEmpty())
return false;
return true;
@@ -33,7 +33,11 @@ public abstract class BaseListModification<T> extends BaseUndoable {
sb.append(getRecipeInfo(recipe)).append(", ");
}
}
sb.setLength(sb.length() - 2);
if(sb.length() > 0 ) {
sb.setLength(sb.length() - 2);
}
return sb.toString();
}
@@ -31,7 +31,11 @@ public abstract class BaseMapModification<K, V> extends BaseUndoable {
sb.append(getRecipeInfo(recipe)).append(", ");
}
}
sb.setLength(sb.length() - 2);
if(sb.length() > 0) {
sb.setLength(sb.length() - 2);
}
return sb.toString();
}