geforkt von Mirrors/Paper
An executor set to null will now use the plugin. Fixes BUKKIT-3127
By: feildmaster <admin@feildmaster.com>
Dieser Commit ist enthalten in:
Ursprung
7536c357fc
Commit
4cc9a1bec4
@ -61,7 +61,7 @@ public final class PluginCommand extends Command implements PluginIdentifiableCo
|
||||
* @param executor New executor to run
|
||||
*/
|
||||
public void setExecutor(CommandExecutor executor) {
|
||||
this.executor = executor;
|
||||
this.executor = executor == null ? owningPlugin : executor;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren