fix loading
All checks were successful
/ Build BaseBand Loader (push) Successful in 2m33s

This commit is contained in:
Daniella / Tove 2024-10-14 03:31:54 +02:00
parent 05217190e8
commit aafbed6f0d
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -401,6 +401,7 @@ public class Loader implements Util {
ZipEntry entry; ZipEntry entry;
while ((entry = jar.getNextEntry()) != null) { while ((entry = jar.getNextEntry()) != null) {
byte[] bytes = new StreamReader(jar).readAllAsBytes(); byte[] bytes = new StreamReader(jar).readAllAsBytes();
if(!entry.getName().startsWith("org/spongepowered"))
data.put(entry.getName(), bytes); data.put(entry.getName(), bytes);
jar.closeEntry(); jar.closeEntry();
} }