mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-26 20:55:42 +01:00
Merge pull request #34 from Yurinann/patch
Fix the expansion will be unregistered on placeholderapi reload
This commit is contained in:
commit
0847b0febd
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user