mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 19:36:41 +00:00
reduce diff
This commit is contained in:
@ -28,7 +28,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
||||
/**
|
||||
* This class is currently only for internal use. Do not post or catch this event.
|
||||
*/
|
||||
public class CommandEvent extends AbstractCancellable implements Runnable {
|
||||
public class CommandEvent extends AbstractCancellable {
|
||||
|
||||
private final Actor actor;
|
||||
private final String arguments;
|
||||
@ -66,7 +66,8 @@ public class CommandEvent extends AbstractCancellable implements Runnable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
public boolean call() {
|
||||
PlatformCommandManager.getInstance().handleCommandOnCurrentThread(this);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user