mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-27 15:23:22 +00:00
- EssentiaCompressor: <init> (uncapped for now)
This commit is contained in:
1 parent
97476abb2b
commit
68773b0681
31 files changed
+1754
-69
No files matched your search
@@ -259,16 +259,13 @@ public class FXFlow {
|
||||
}
|
||||
|
||||
public static void tickFlows(List<FXFlow> fxFlows) {
|
||||
EffectHandler.flowRWLock.lock();
|
||||
try {
|
||||
synchronized (EffectHandler.lockEffects) {
|
||||
for(FXFlow flow : fxFlows) {
|
||||
if((System.currentTimeMillis() - flow.lastUpdateCall) > 1000L) {
|
||||
EffectHandler.getInstance().unregisterFlow(flow);
|
||||
}
|
||||
flow.tick();
|
||||
}
|
||||
} finally {
|
||||
EffectHandler.flowRWLock.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user