File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/main/java/org/runejs/client Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1985,7 +1985,7 @@ public static void clearCaches() {
1985
1985
PlayerAppearance .clearPlayerModelCache ();
1986
1986
GameInterface .clearInterfaceCaches ();
1987
1987
((Class35 ) Rasterizer3D .interface3 ).clearTextures ();
1988
- ClientScript .clientScriptCache . clear ();
1988
+ ClientScript .clearClientScriptCache ();
1989
1989
CacheArchive .skeletonCacheArchive .clearCache ();
1990
1990
CacheArchive .skinDefinitionCacheArchive .clearCache ();
1991
1991
CacheArchive .gameInterfaceCacheArchive .clearCache ();
Original file line number Diff line number Diff line change 14
14
15
15
public class ClientScript extends CachedNode {
16
16
17
- public static NodeCache clientScriptCache = new NodeCache (128 );
17
+ private static NodeCache clientScriptCache = new NodeCache (128 );
18
18
19
19
public int [] intOperands ;
20
20
public int intStackCount ;
@@ -24,6 +24,10 @@ public class ClientScript extends CachedNode {
24
24
public int localIntCount ;
25
25
public int [] opcodes ;
26
26
27
+ public static void clearClientScriptCache () {
28
+ clientScriptCache .clear ();
29
+ }
30
+
27
31
28
32
public static void clientScriptDebugger () {
29
33
int len = CacheArchive .clientScriptCacheArchive .getLength ();
You can’t perform that action at this time.
0 commit comments