Merge pull request #34 from Yurinann/patch

Fix the expansion will be unregistered on placeholderapi reload
This commit is contained in:
Stephan 2023-03-20 13:05:42 -07:00 committed by GitHub
commit 0847b0febd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,4 +46,12 @@ public class PlayerBalancerPlaceholderExpansion extends PlaceholderExpansion {
public String getVersion() {
return "bundled";
}
/**
* This is required or else PlaceholderAPI will unregister the Expansion on reload
*/
@Override
public boolean persist() {
return true;
}
}