mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
extended timeout duration
the highest duration for muzzle flashes is 150?, not under 100, so let's be safe
This commit is contained in:
parent
82293e46cd
commit
5cb013d545
@ -932,7 +932,7 @@ public class ModEventHandlerClient {
|
||||
Iterator itr = ItemRenderWeaponBase.flashMap.keySet().iterator();
|
||||
long millis = System.currentTimeMillis();
|
||||
//dead entities may have later insertion order than actively firing ones, so we be safe
|
||||
ItemRenderWeaponBase.flashMap.values().removeIf(entry -> millis - entry.longValue() >= 100);
|
||||
ItemRenderWeaponBase.flashMap.values().removeIf(entry -> millis - entry.longValue() >= 150);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user