Skip to content

Commit b32a27e

Browse files
committed
added a setter for the useCache flag
1 parent 0617546 commit b32a27e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common/src/main/java/com/cinemamod/mcef/MCEFSettings.java

+5
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ public boolean isUsingCache() {
8181
return useCache;
8282
}
8383

84+
public void setUseCache(boolean useCache) {
85+
this.useCache = useCache;
86+
saveAsync();
87+
}
88+
8489
public void saveAsync() {
8590
CompletableFuture.runAsync(() -> {
8691
try {

0 commit comments

Comments
 (0)