This commit is contained in:
parent
05217190e8
commit
aafbed6f0d
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue