Fixes Class Resource Reloading

Editing may have also been broken with this bug
This commit is contained in:
Konloch 2021-07-15 12:34:33 -07:00
parent 46f703db34
commit 068c3c5560

AI 샘플 코드 생성 중입니다

Loading...

View File

@ -129,7 +129,8 @@ public class ResourceContainer
public ResourceContainer updateClassNodeBytes()
{
resourceClassBytes.clear();
resourceClasses.forEach((s, cn) -> resourceClassBytes.put(s, ASMUtil.nodeToBytes(cn)));
resourceClasses.forEach((s, cn) ->
resourceClassBytes.put(s+".class", ASMUtil.nodeToBytes(cn)));
return this;
}