Geyser can compile now

This commit is contained in:
Tim203 2020-12-15 22:31:14 +01:00
parent cd13e03730
commit e69ad0e560
No known key found for this signature in database
GPG key ID: 064EE9F5BF7C3EE8
2 changed files with 4 additions and 4 deletions

View file

@ -56,9 +56,9 @@ public class SettingsCommand extends GeyserCommand {
}
}
}
if (session == null) return;
SettingsUtils.buildForm(session);
session.sendForm(session.getSettingsForm(), SettingsUtils.SETTINGS_FORM_ID);
if (session != null) {
session.sendForm(SettingsUtils.buildForm(session));
}
}
@Override

View file

@ -31,7 +31,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.base.Charsets;
import lombok.Getter;
import org.geysermc.connector.utils.SkinProvider;
import org.geysermc.connector.skin.SkinProvider;
import org.geysermc.floodgate.util.DeviceOs;
import org.geysermc.floodgate.util.InputMode;
import org.geysermc.floodgate.util.RawSkin;