mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-06 00:07:20 +01:00
updated placeholderexpansion to define its own unregister method
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user