SPIGOT-3456: Expand calling of ServerCommandEvent

Existing usage preserved by checking sender.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2017-07-28 18:10:46 +10:00
parent cefcc3e3bc
commit 3b83758aa2

View file

@ -5,7 +5,7 @@ import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
/**
* This event is called when a command is run from the server console. It is
* This event is called when a command is run by a non-player. It is
* called early in the command handling process, and modifications in this
* event (via {@link #setCommand(String)}) will be shown in the behavior.
* <p>