Made it build

This commit is contained in:
Tim203 2024-05-23 20:22:40 +02:00
parent 9f32ba81b1
commit 63523d712b
No known key found for this signature in database
7 changed files with 30 additions and 9 deletions

View file

@ -275,7 +275,7 @@ public final class GeyserServer {
this.proxiedAddresses != null ? this.proxiedAddresses.get(inetSocketAddress) : null
);
geyser.eventBus().fire(requestEvent);
if (requestEvent.isCancelled()) {
if (requestEvent.cancelled()) {
geyser.getLogger().debug("Connection request from " + ip + " was cancelled using the API!");
connectionAttempts++;
return false;

View file

@ -138,7 +138,6 @@ import org.geysermc.geyser.registry.type.ItemMappings;
import org.geysermc.geyser.session.auth.AuthData;
import org.geysermc.geyser.session.auth.BedrockClientData;
import org.geysermc.geyser.session.cache.*;
import org.geysermc.geyser.skin.FloodgateSkinUploader;
import org.geysermc.geyser.text.GeyserLocale;
import org.geysermc.geyser.text.MinecraftLocale;
import org.geysermc.geyser.translator.inventory.InventoryTranslator;