updated placeholderexpansion to define its own unregister method

This commit is contained in:
Sxtanna
2020-07-26 23:01:12 -04:00
parent 8360511c50
commit f61b6acfa8
3 changed files with 72 additions and 27 deletions

View File

@@ -39,7 +39,7 @@ public final class CommandExpansionUnregister extends PlaceholderCommand
}
final String message = !plugin.getLocalExpansionManager().unregister(expansion.get()) ?
final String message = !expansion.get().unregister() ?
"&cFailed to unregister expansion: &f" :
"&aSuccessfully unregistered expansion: &f";