add deprecation warnings to the log.

This commit is contained in:
FalsePattern committed 2022-05-06 13:07:26 +02:00
1 parent e6fc42e6c5
commit d9e4de29df
5 files changed
+17

No files matched your search

@@ -0,0 +1,10 @@
package com.falsepattern.lib.api;
final class Deprecation {
static void warn() {
new Exception("\nDEPRECATION WARNING\nDEPRECATION WARNING\n" +
"Someone used the deprecated FalsePatternLib api.\n" +
"This api will be replaced in FalsePatternLib 0.7! You should probably update your mods.\n" +
"See the following stacktrace for hints on what mod could be the cause.").printStackTrace();
}
}