mirror of
https://github.com/PlaceholderAPI/Javascript-Expansion.git
synced 2025-05-23 10:39:04 +00:00
Fix NPE
This commit is contained in:
parent
ac3c07b344
commit
69a514f62d
@ -132,8 +132,10 @@ public class JavascriptExpansion extends PlaceholderExpansion implements Cacheab
|
||||
s.saveData();
|
||||
s.cleanup();
|
||||
});
|
||||
if (githubScripts != null) {
|
||||
githubScripts.clear();
|
||||
githubScripts = null;
|
||||
}
|
||||
scripts.clear();
|
||||
globalEngine = null;
|
||||
instance = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user