Packets decaying way too quickly with large bases, remove total time counter.
This commit is contained in:
BallOfEnergy 2025-01-08 08:31:51 -06:00
parent 3882b9b82c
commit be01e9efd0

View File

@ -132,7 +132,8 @@ public class PacketThreading {
for (Future<?> future : futureList) {
nanoTimeWaited = System.nanoTime() - startTime;
future.get(50, TimeUnit.MILLISECONDS); // I HATE EVERYTHING
if(TimeUnit.MILLISECONDS.convert(nanoTimeWaited, TimeUnit.NANOSECONDS) > 50) throw new TimeoutException(); // >50ms total time? timeout? yes sir, ooh rah!
// if(TimeUnit.MILLISECONDS.convert(nanoTimeWaited, TimeUnit.NANOSECONDS) > 50) throw new TimeoutException(); // >50ms total time? timeout? yes sir, ooh rah!
// this seems to cause big problems with large worlds, never mind...
}
}
} catch (ExecutionException ignored) {