change: display callout and notifs for longer

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2024-07-18 14:05:08 +05:00
parent ffe591aa39
commit e2021309cc
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -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