Rename variable in BukkitPingCounter
This commit is contained in:
parent
990123080f
commit
b7344f833e
|
@ -89,9 +89,9 @@ public class BukkitPingCounter extends TaskSystem.Task implements Listener {
|
|||
startRecording = new ConcurrentHashMap<>();
|
||||
playerHistory = new HashMap<>();
|
||||
|
||||
Optional<PingMethod> pingMethod = loadPingMethod();
|
||||
if (pingMethod.isPresent()) {
|
||||
this.pingMethod = pingMethod.get();
|
||||
Optional<PingMethod> loaded = loadPingMethod();
|
||||
if (loaded.isPresent()) {
|
||||
this.pingMethod = loaded.get();
|
||||
pingMethodAvailable = true;
|
||||
} else {
|
||||
pingMethodAvailable = false;
|
||||
|
|
Loading…
Reference in New Issue