@@ -70,7 +70,7 @@ public class CraftSkull extends CraftBlockEntityState<TileEntitySkull> implement
|
||||
return false;
|
||||
}
|
||||
|
||||
GameProfile profile = MinecraftServer.getServer().getUserCache().getProfile(name);
|
||||
GameProfile profile = MinecraftServer.getServer().getUserCache().getProfile(name).orElse(null);
|
||||
if (profile == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user