diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java index e776d68c..07ea9460 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java @@ -358,7 +358,7 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File File tempFile = new File(tempDirectory + fs + hash + fs + name + "." + extension); if(!tempFile.exists()) { - DiskWriter.replaceFileBytes(tempFile.getAbsolutePath(), container.resourceFiles.get(name), false); + DiskWriter.replaceFileBytes(tempFile.getAbsolutePath(), content, false); try {