File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/org/runejs/client/cache Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ public class CacheArchive {
29
29
public static CacheArchive huffmanCacheArchive ;
30
30
public static CacheArchive jingleCacheArchive ;
31
31
public static CacheArchive clientScriptCacheArchive ;
32
- public static int anInt1195 = 0 ;
33
32
34
33
public byte [][] aByteArrayArray212 ;
35
34
public int crc8 ;
@@ -78,13 +77,13 @@ public static byte[] decompress(byte[] cacheData) {
78
77
int type = buffer .getUnsignedByte ();
79
78
int length = buffer .getIntBE ();
80
79
81
- if (length < 0 || anInt1195 != 0 && anInt1195 < length ) {
80
+ if (length < 0 ) {
82
81
throw new RuntimeException ();
83
82
}
84
83
85
84
if (type != 0 ) {
86
85
int decompressedLength = buffer .getIntBE ();
87
- if (decompressedLength < 0 || anInt1195 != 0 && decompressedLength > anInt1195 ) {
86
+ if (decompressedLength < 0 ) {
88
87
return new byte [100 ];
89
88
//throw new RuntimeException();
90
89
}
You can’t perform that action at this time.
0 commit comments