diff options
| author | Roman / Linnea Gräf <roman.graef@gmail.com> | 2023-07-21 09:28:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-21 09:28:48 +0200 |
| commit | 34835697e889799e2b4e97c3bbf0ea73c04d5a64 (patch) | |
| tree | 421de44a9dcff26b44bab18fcde9ed89ef066f28 /src/main/java/io/github/moulberry/notenoughupdates/util/NEUDebugLogger.java | |
| parent | 3184880b31e9dc8d8985411468112c6b49e5b480 (diff) | |
| download | notenoughupdates-34835697e889799e2b4e97c3bbf0ea73c04d5a64.tar.gz notenoughupdates-34835697e889799e2b4e97c3bbf0ea73c04d5a64.tar.bz2 notenoughupdates-34835697e889799e2b4e97c3bbf0ea73c04d5a64.zip | |
Use ursa-minor as API proxy (#762)
* Use ursa-minor as API proxy
* Allow setting a ursa server url
* Make client aware of x-ursa-expires
* Make profile data syncer work using legacy api
* Add better header support
* Add manual call functionality
* Improve callUrsa to allow for raw strings
* Save tokens better and add logs on http failure status codes
* Remove API key requirement for PV
* Make museum in pv also use ursa
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/NEUDebugLogger.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/NEUDebugLogger.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/NEUDebugLogger.java b/src/main/java/io/github/moulberry/notenoughupdates/util/NEUDebugLogger.java index e5d00a66..d73a500c 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/NEUDebugLogger.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/NEUDebugLogger.java @@ -22,7 +22,6 @@ package io.github.moulberry.notenoughupdates.util; import io.github.moulberry.notenoughupdates.NotEnoughUpdates; import io.github.moulberry.notenoughupdates.options.customtypes.NEUDebugFlag; import net.minecraft.client.Minecraft; -import net.minecraft.util.ChatComponentText; import net.minecraft.util.EnumChatFormatting; import java.util.function.Consumer; @@ -34,7 +33,7 @@ public class NEUDebugLogger { public static boolean allFlagsEnabled = false; private static void chatLogger(String message) { - Utils.addChatMessage(EnumChatFormatting.YELLOW + "[NEU DEBUG] " + message); + mc.addScheduledTask(() -> Utils.addChatMessage(EnumChatFormatting.YELLOW + "[NEU DEBUG] " + message)); } public static boolean isFlagEnabled(NEUDebugFlag flag) { |
