mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-07-14 15:05:04 +02: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() {
|
public String getVersion() {
|
||||||
return "bundled";
|
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