Skip to content

Commit 3fde7d7

Browse files
committed
add persist flag for PlaceholderAPI
1 parent d966234 commit 3fde7d7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

modules/library/src/main/java/top/mrxiaom/pluginbase/utils/depend/PlaceholdersExpansion.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ public boolean register() {
3434
return plugin.getDescription().getVersion();
3535
}
3636

37+
@Override
38+
public boolean persist() {
39+
return true;
40+
}
41+
3742
public static String bool(boolean value) {
3843
return value ? PlaceholderAPIPlugin.booleanTrue() : PlaceholderAPIPlugin.booleanFalse();
3944
}

0 commit comments

Comments
 (0)