mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
do not replace skin for head if on client and not in singleplayer
This commit is contained in:
@@ -43,6 +43,9 @@ public abstract class SkullBlockEntityMixin {
|
||||
|
||||
@Unique
|
||||
private static void skinrestorer$replaceSkin(Optional<GameProfile> profileOpt, CallbackInfoReturnable<CompletableFuture<Optional<GameProfile>>> cir) {
|
||||
if (SkinRestorer.getMinecraftServer() == null)
|
||||
return;
|
||||
|
||||
if (profileOpt.isEmpty())
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user