Remove log4j as much as possible (#1334)

This commit is contained in:
altrisi authored and GitHub committed 2022-02-22 01:35:56 +01:00
1 parent b06d68186e
commit 1f0c609dc0
9 files changed
+26 -22

No files matched your search

@@ -379,9 +379,9 @@ public class FileArgument
}
catch (IOException secondIO)
{
CarpetScriptServer.LOG.warn("IOException when trying to read nbt file, something may have gone wrong with the fs",e);
CarpetScriptServer.LOG.catching(ioException);
CarpetScriptServer.LOG.catching(secondIO);
CarpetScriptServer.LOG.warn("IOException when trying to read nbt file, something may have gone wrong with the fs", e);
CarpetScriptServer.LOG.warn("", ioException);
CarpetScriptServer.LOG.warn("", secondIO);
throw new ThrowStatement("Not a valid NBT tag in "+path.toString(), Throwables.NBT_ERROR);
}
}