From 73c54a700d51d6a98f73f1795d539daa037317d0 Mon Sep 17 00:00:00 2001 From: Guimc Date: Wed, 14 Aug 2024 14:45:21 +0800 Subject: [PATCH] update --- .../win/cuteguimc/zombieshelper/listener/NoPuncherListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/win/cuteguimc/zombieshelper/listener/NoPuncherListener.java b/src/main/java/win/cuteguimc/zombieshelper/listener/NoPuncherListener.java index 69088dc..c480217 100644 --- a/src/main/java/win/cuteguimc/zombieshelper/listener/NoPuncherListener.java +++ b/src/main/java/win/cuteguimc/zombieshelper/listener/NoPuncherListener.java @@ -27,7 +27,7 @@ public void onChatReceive(ChatReceiveEvent event) { if (mc.theWorld == null || mc.thePlayer == null) return; if (!ZombiesHelperConfig.noPuncher) return; String message = event.message.getUnformattedTextForChat(); - if (message.toLowerCase(Locale.ROOT).contains("you found the puncher in the lucky chest")) { + if (message.contains("You found The Puncher")) { lastPuncherTick = mc.thePlayer.ticksExisted; } if (message.toLowerCase(Locale.ROOT).contains("fight with your teammates against oncoming")) {