mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +00:00
fix: make papi expansion persist through reloads (#890)
This commit is contained in:
1 parent
669ae49417
commit
539a151f50
1 file changed
+5
@@ -100,6 +100,11 @@ public class PlaceholderAPIHook extends Hook {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean persist() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
private String getBooleanValue(final boolean bool) {
|
private String getBooleanValue(final boolean bool) {
|
||||||
return bool ? PlaceholderAPIPlugin.booleanTrue() : PlaceholderAPIPlugin.booleanFalse();
|
return bool ? PlaceholderAPIPlugin.booleanTrue() : PlaceholderAPIPlugin.booleanFalse();
|
||||||
|
|||||||
Reference in new issue
Block a user