mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-24 01:09:30 +00:00
Fix 2-am-typo resulting in incorrect ping values
This commit is contained in:
@@ -2188,7 +2188,7 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
||||
@Override
|
||||
public int ping() {
|
||||
// Can otherwise cause issues if the player isn't logged in yet / already left
|
||||
if (getUpstream().isInitialized() || getUpstream().isClosed()) {
|
||||
if (!getUpstream().isInitialized() || getUpstream().isClosed()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user