mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 20:47:59 +01:00
Fix guiskins before world opens
This commit is contained in:
parent
3316f7b695
commit
2610610c76
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ public final class HDSkinManager {
|
||||||
|
|
||||||
private static String resolvePlayerIdFromHash(String hash) {
|
private static String resolvePlayerIdFromHash(String hash) {
|
||||||
Minecraft mc = Minecraft.getMinecraft();
|
Minecraft mc = Minecraft.getMinecraft();
|
||||||
|
if (mc.theWorld == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
Collection<NetworkPlayerInfo> playersInfo = mc.getNetHandler().func_175106_d();
|
Collection<NetworkPlayerInfo> playersInfo = mc.getNetHandler().func_175106_d();
|
||||||
String uuid;
|
String uuid;
|
||||||
// players
|
// players
|
||||||
|
|
Loading…
Reference in a new issue