aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-05-18 00:47:24 +0200
committernea <nea@nea.moe>2023-05-18 00:47:24 +0200
commit13f2b320c34abff8cbe1daa196a2e5e8f3f79188 (patch)
treeeb8fe94fd990eaa6cab42622d97262f32488f2e0 /src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java
parent5514534d6ba165fdb9c12ec964c03d78de4361bf (diff)
downloadFirmament-13f2b320c34abff8cbe1daa196a2e5e8f3f79188.tar.gz
Firmament-13f2b320c34abff8cbe1daa196a2e5e8f3f79188.tar.bz2
Firmament-13f2b320c34abff8cbe1daa196a2e5e8f3f79188.zip
Don't remap logging functions
Diffstat (limited to 'src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java')
-rw-r--r--src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java b/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java
index b1a4049..6ed7a40 100644
--- a/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java
+++ b/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java
@@ -8,7 +8,7 @@ import org.spongepowered.asm.mixin.injection.Redirect;
@Mixin(FishingBobberEntity.class)
public class DisableInvalidFishingHook {
- @Redirect(method = "onSpawnPacket", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;error(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V"))
+ @Redirect(method = "onSpawnPacket", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;error(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", remap = false))
public void onOnSpawnPacket(Logger instance, String s, Object o, Object o1) {
// Don't warn for broken fishing hooks, since HyPixel sends a bunch of those
}