//Fix: JVD MISSING

This commit is contained in:
rubenpirreram
2026-06-19 22:43:39 +02:00
parent 80f21e53ee
commit 1ebb65aee1
3 changed files with 10 additions and 0 deletions
@@ -19,6 +19,9 @@ public class Hunt extends EventCard {
/** Prestige Points multiplier used during the event. */
private final int prestigeMultiplier;
/**Gets Prestige Points multiplier used during the event.
* @return int {@code PrestigeMultiplier}
*/
int getPrestigeMultiplier() { return prestigeMultiplier; }
/**
@@ -31,6 +31,9 @@ public class RMIClient implements IClient {
/** Scheduler that fires ping() every {@value NetworkConfig#KEEPALIVE_INTERVAL_MS} ms. */
private ScheduledExecutorService pingSender;
/**
* Future executor used for timer Running
*/
private ExecutorService executor;
/**
@@ -163,6 +163,10 @@ public class TCPClient implements IClient {
sender.shutdownNow();
}
}
/**
* Disconnects the player and cleans model and controller
*/
private synchronized void disconnect() {
if (!running) return;
running = false;