Skip to content

Commit d56f5ef

Browse files
committed
mappings fix
1 parent 83f05dd commit d56f5ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/com/lambda/network/LambdaAPI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ object LambdaAPI : Configurable(LambdaConfig) {
4848
val authServer by setting("Auth Server", "auth.lambda-client.org")
4949
val apiUrl by setting("API Server", "https://api.lambda-client.org")
5050
val apiVersion by setting("API Version", ApiVersion.V1)
51-
val assets by setting("Assets", "https://raw.githubusercontent.com/Edouard127/lambda-assets/refs/heads/master")
51+
val assets by setting("Assets", "https://raw.githubusercontent.com/beanbag44/lambda-assets/refs/heads/master")
5252

5353
val mappings get() = "$assets/mappings" // Folder containing mappings for our dynamic serializer
5454
val capes get() = "$assets/capes" // Folder containing all the capes, add .txt to get the list of available capes

src/main/kotlin/com/lambda/util/DynamicReflectionSerializer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ object DynamicReflectionSerializer : Loadable {
8282
private val qualifiedMappings = runBlocking {
8383
cache.resolveFile(LambdaAPI.gameVersion)
8484
.also {
85-
if (!it.readText().contains("net.minecraft.client.MinecraftClient")) {
85+
if (it.exists() && !it.readText().contains("net.minecraft.client.MinecraftClient")) {
8686
LOG.debug("Re-downloading yarn mappings as the current cache is improperly generated")
8787
it.delete()
8888
}

0 commit comments

Comments
 (0)