don't download skin from classicube.net twice in singleplayer

This commit is contained in:
UnknownShadow200 2018-04-09 19:17:30 +10:00
parent 533e431fd7
commit 150fa1b91e
2 changed files with 0 additions and 3 deletions

View File

@ -31,7 +31,6 @@ namespace ClassicalSharp.Singleplayer {
BlockInfo.CanPlace[i] = true;
BlockInfo.CanDelete[i] = true;
}
game.Downloader.AsyncGetSkin(game.LocalPlayer.SkinName, game.LocalPlayer.SkinName);
game.Events.RaiseBlockPermissionsChanged();
int seed = new Random().Next();

View File

@ -94,8 +94,6 @@ void SPConnection_Connect(STRING_PURE String* ip, Int32 port) {
Block_CanDelete[i] = true;
}
String skin = String_FromRawArray(LocalPlayer_Instance.SkinNameRaw);
AsyncDownloader_DownloadSkin(&skin, &skin);
Event_RaiseVoid(&BlockEvents_PermissionsChanged);
Random rnd; Random_InitFromCurrentTime(&rnd);