From 6791acd215a2d7dd91821999e1b551bbd8ec2999 Mon Sep 17 00:00:00 2001 From: Konicai <71294714+Konicai@users.noreply.github.com> Date: Thu, 8 Jun 2023 16:20:49 -0400 Subject: [PATCH] Handle effects with infinite duration (#3834) --- .../java/entity/JavaUpdateMobEffectTranslator.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/geysermc/geyser/translator/protocol/java/entity/JavaUpdateMobEffectTranslator.java b/core/src/main/java/org/geysermc/geyser/translator/protocol/java/entity/JavaUpdateMobEffectTranslator.java index a86290100..128b051a9 100644 --- a/core/src/main/java/org/geysermc/geyser/translator/protocol/java/entity/JavaUpdateMobEffectTranslator.java +++ b/core/src/main/java/org/geysermc/geyser/translator/protocol/java/entity/JavaUpdateMobEffectTranslator.java @@ -45,9 +45,15 @@ public class JavaUpdateMobEffectTranslator extends PacketTranslator