Skip to content

Commit b7f257c

Browse files
committed
Fix the expansion will be unregistered on placeholderapi reload
1 parent 8d1430f commit b7f257c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

addon/src/main/java/com/jaimemartz/playerbalanceraddon/PlayerBalancerPlaceholderExpansion.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,12 @@ public String getAuthor() {
4646
public String getVersion() {
4747
return "bundled";
4848
}
49+
50+
/**
51+
* This is required or else PlaceholderAPI will unregister the Expansion on reload
52+
*/
53+
@Override
54+
public boolean persist() {
55+
return true;
56+
}
4957
}

0 commit comments

Comments
 (0)