From ecc3c44d5d593177180f03ad544415b4413035b9 Mon Sep 17 00:00:00 2001 From: XiaoPangxie732 <47449269+XiaoPangxie732@users.noreply.github.com> Date: Mon, 21 Jun 2021 16:54:08 +0800 Subject: [PATCH] Currently, the best way to solve #17 --- src/main/java/cn/maxpixel/mcdecompiler/asm/MappingRemapper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/cn/maxpixel/mcdecompiler/asm/MappingRemapper.java b/src/main/java/cn/maxpixel/mcdecompiler/asm/MappingRemapper.java index def57cc..d6f6003 100644 --- a/src/main/java/cn/maxpixel/mcdecompiler/asm/MappingRemapper.java +++ b/src/main/java/cn/maxpixel/mcdecompiler/asm/MappingRemapper.java @@ -211,6 +211,7 @@ private LazyFinalValue(String errorMessage) { public synchronized void set(V value) { if(this.value == null) this.value = Objects.requireNonNull(value); + else if(value != null && ((PairedFieldMapping) value).getMappedName().equals("LOADING_SYMBOLS")) this.value = Objects.requireNonNull(value); else throw new IllegalStateException(errorMessage); } }