mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-17 03:05:03 +00:00
ModTweaker2 Rework
- Revised base classes for IUndoableAction - Reordered lots of code, so stuck actions should be less frequent - Added wildcard support to many "remove" methods - Started working on exist & duplicate checks
This commit is contained in:
1 parent
f5034b04d8
commit
da33cc6fab
112 files changed
+4596
-3522
No files matched your search
@@ -21,4 +21,20 @@ public class LogHelper {
|
||||
System.out.println(string);
|
||||
MineTweakerAPI.logCommand(string);
|
||||
}
|
||||
|
||||
public static void logError(String message) {
|
||||
MineTweakerAPI.logError("[ModTweaker2] " + message);
|
||||
}
|
||||
|
||||
public static void logError(String message, Throwable exception) {
|
||||
MineTweakerAPI.logError("[ModTweaker2] " + message, exception);
|
||||
}
|
||||
|
||||
public static void logWarning(String message) {
|
||||
MineTweakerAPI.logWarning("[ModTweaker2] " + message);
|
||||
}
|
||||
|
||||
public static void logInfo(String message) {
|
||||
MineTweakerAPI.logInfo("[ModTweaker2] " + message);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user