//Fix: JVD MISSING
This commit is contained in:
@@ -19,6 +19,9 @@ public class Hunt extends EventCard {
|
|||||||
/** Prestige Points multiplier used during the event. */
|
/** Prestige Points multiplier used during the event. */
|
||||||
private final int prestigeMultiplier;
|
private final int prestigeMultiplier;
|
||||||
|
|
||||||
|
/**Gets Prestige Points multiplier used during the event.
|
||||||
|
* @return int {@code PrestigeMultiplier}
|
||||||
|
*/
|
||||||
int getPrestigeMultiplier() { return 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. */
|
/** Scheduler that fires ping() every {@value NetworkConfig#KEEPALIVE_INTERVAL_MS} ms. */
|
||||||
private ScheduledExecutorService pingSender;
|
private ScheduledExecutorService pingSender;
|
||||||
|
/**
|
||||||
|
* Future executor used for timer Running
|
||||||
|
*/
|
||||||
private ExecutorService executor;
|
private ExecutorService executor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -163,6 +163,10 @@ public class TCPClient implements IClient {
|
|||||||
sender.shutdownNow();
|
sender.shutdownNow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disconnects the player and cleans model and controller
|
||||||
|
*/
|
||||||
private synchronized void disconnect() {
|
private synchronized void disconnect() {
|
||||||
if (!running) return;
|
if (!running) return;
|
||||||
running = false;
|
running = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user