Added BukkitCommandSender and WorldEditPlugin.wrapCommandSender.
This commit is contained in:
13
src/main/java/com/sk89q/worldedit/PlayerNeededException.java
Normal file
13
src/main/java/com/sk89q/worldedit/PlayerNeededException.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package com.sk89q.worldedit;
|
||||
|
||||
/**
|
||||
* Thrown when an operation is run that needs an actual player, not a console.
|
||||
*
|
||||
*/
|
||||
public class PlayerNeededException extends RuntimeException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public PlayerNeededException() {
|
||||
super("This command cannot be run on the console.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user