Arrgh. Correctly supress logs when option is stead, instead of only displaying them when it's set.

This commit is contained in:
Bernhard Bonigl committed 2014-08-08 09:58:30 +02:00
1 parent e10c5d2770
commit 92ab16edec
1 file changed
+1 -1
@@ -557,7 +557,7 @@ public abstract class ToolCore extends Item implements IEnergyContainerItem, IMo
ItemStack tool = ToolBuilder.instance.buildTool(new ItemStack(getHeadItem(), 1, id), new ItemStack(getHandleItem(), 1, id), accessoryStack, extraStack, name + getToolName());
if (tool == null)
{
if (TinkerTools.supressMissingToolLogs)
if (!TinkerTools.supressMissingToolLogs)
{
TConstructRegistry.logger.error("Creative builder failed tool for " + name + this.getToolName());
TConstructRegistry.logger.error("Make sure you do not have item ID conflicts");