1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2026-01-04 15:31:48 +00:00

Fixed a bug where linked accounts would get their Bedrock skin

This commit is contained in:
Tim203
2021-07-05 15:34:40 +02:00
parent 29c834df03
commit 0216b6d798
10 changed files with 86 additions and 29 deletions

View File

@@ -106,6 +106,11 @@ public interface FloodgatePlayer {
*/
LinkedPlayer getLinkedPlayer();
/**
* Returns true if the player is linked to a Java account
*/
boolean isLinked();
default boolean sendForm(Form form) {
return FloodgateApi.getInstance().sendForm(getCorrectUniqueId(), form);
}

View File

@@ -36,7 +36,7 @@ public class PropertyKey {
new PropertyKey("socket_address", false, false);
/**
* Skin Uploaded returns a JsonObject containing the value and signature of the Skin
* Skin Uploaded returns a SkinData object containing the value and signature of the Skin
*/
public static final PropertyKey SKIN_UPLOADED =
new PropertyKey("skin_uploaded", false, false);