From e2021309cc1f08f1f3afde920a350d83c4bfbf03 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Thu, 18 Jul 2024 14:05:08 +0500 Subject: [PATCH] change: display callout and notifs for longer Signed-off-by: Octol1ttle --- .../client/event/KnockdownsClientEventListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ru/octol1ttle/knockdowns/client/event/KnockdownsClientEventListener.java b/src/main/java/ru/octol1ttle/knockdowns/client/event/KnockdownsClientEventListener.java index 0aa8db7..ed1749f 100644 --- a/src/main/java/ru/octol1ttle/knockdowns/client/event/KnockdownsClientEventListener.java +++ b/src/main/java/ru/octol1ttle/knockdowns/client/event/KnockdownsClientEventListener.java @@ -39,8 +39,8 @@ public class KnockdownsClientEventListener { KnockedNotificationManager.clearDatas(); return; } - CalloutManager.getCallouts().removeIf(callout -> client.world.getTotalWorldTime() - callout.getValue().getReceiveTime() > 60); - KnockedNotificationManager.getKnockedPlayerDatas().removeIf(notification -> client.world.getTotalWorldTime() - notification.getReceiveTime() > 100); + CalloutManager.getCallouts().removeIf(callout -> client.world.getTotalWorldTime() - callout.getValue().getReceiveTime() > 100); + KnockedNotificationManager.getKnockedPlayerDatas().removeIf(notification -> client.world.getTotalWorldTime() - notification.getReceiveTime() > 140); } @SubscribeEvent