remove Logger.errorAndThrow()

This commit is contained in:
James Seibel
2025-01-14 21:17:53 -06:00
parent a3263ba5ba
commit 0518da6872
@@ -120,11 +120,4 @@ public class ConfigBasedLogger
public void debug(String str, Object... param) { this.log(Level.DEBUG, str, param); }
public void trace(String str, Object... param) { this.log(Level.TRACE, str, param); }
/** Used by MC 1.20.6 getOrThrow() methods */
public Exception errorAndThrow(String str, Exception e)
{
this.log(Level.ERROR, str);
return e;
}
}