Added BukkitCommandSender and WorldEditPlugin.wrapCommandSender.

This commit is contained in:
TomyLobo
2011-12-15 12:02:00 +01:00
parent 6d4b4718db
commit 3bec3c169c
4 changed files with 136 additions and 0 deletions

View 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.");
}
}