mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 21:57:35 +00:00
add deprecation warnings to the log.
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user