mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Init SkinProvider on Geyser startup
Prevents it from loading in the middle of the first Geyser player joining
This commit is contained in:
parent
2d28ba0cb5
commit
da33811e3b
2 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,7 @@ import org.geysermc.geyser.session.GeyserSession;
|
|||
import org.geysermc.geyser.session.SessionManager;
|
||||
import org.geysermc.geyser.session.auth.AuthType;
|
||||
import org.geysermc.geyser.skin.FloodgateSkinUploader;
|
||||
import org.geysermc.geyser.skin.SkinProvider;
|
||||
import org.geysermc.geyser.text.GeyserLocale;
|
||||
import org.geysermc.geyser.text.MinecraftLocale;
|
||||
import org.geysermc.geyser.translator.inventory.item.ItemTranslator;
|
||||
|
@ -153,6 +154,7 @@ public class GeyserImpl implements GeyserApi {
|
|||
ItemTranslator.init();
|
||||
MessageTranslator.init();
|
||||
MinecraftLocale.init();
|
||||
SkinProvider.init();
|
||||
|
||||
start();
|
||||
|
||||
|
|
|
@ -819,4 +819,8 @@ public class SkinProvider {
|
|||
};
|
||||
}
|
||||
}
|
||||
|
||||
public static void init() {
|
||||
// no-op
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue