mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 14:59:20 +00:00
Fixed recession in latest commit
This commit is contained in:
@@ -156,6 +156,7 @@ public final class VelocityListener {
|
|||||||
public void onGameProfileRequest(GameProfileRequestEvent event, Continuation continuation) {
|
public void onGameProfileRequest(GameProfileRequestEvent event, Continuation continuation) {
|
||||||
FloodgatePlayer player = playerCache.getIfPresent(event.getConnection());
|
FloodgatePlayer player = playerCache.getIfPresent(event.getConnection());
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
|
continuation.resume();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
playerCache.invalidate(event.getConnection());
|
playerCache.invalidate(event.getConnection());
|
||||||
@@ -167,6 +168,7 @@ public final class VelocityListener {
|
|||||||
player.getCorrectUsername(),
|
player.getCorrectUsername(),
|
||||||
List.of(DEFAULT_TEXTURE_PROPERTY)
|
List.of(DEFAULT_TEXTURE_PROPERTY)
|
||||||
));
|
));
|
||||||
|
continuation.resume();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user