Prefixed unknown pipe message with [BuidCraft] and removed Added to generic inventory println

This commit is contained in:
Krapht 2012-08-03 00:38:10 +02:00
parent e79f6bc2ae
commit 8187f94ac5
2 changed files with 2 additions and 2 deletions

View file

@ -190,7 +190,7 @@ public class StackUtil {
} else {
// This is a generic inventory
IInventory inv = Utils.getInventory(inventory);
System.out.println("Adding to generic inventory.");
//System.out.println("Adding to generic inventory.");
for (int j = 0; j < inv.getSizeInventory(); ++j)
if (tryAdding(inv, j, add, true)) {

View file

@ -500,7 +500,7 @@ public class BlockGenericPipe extends BlockContainer implements ITextureProvider
if (pipe != null) {
return pipe.getConstructor(int.class).newInstance(key);
} else {
System.err.printf("Detected pipe with unknown key (" + key + "). Did you remove a buildcraft addon?\n");
System.err.printf("[BuildCraft] Detected pipe with unknown key (" + key + "). Did you remove a buildcraft addon?\n");
}
} catch (Throwable t) {