From ad9b8ce3b1987c495c6661affc54e99a714750df Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 29 Jun 2014 12:28:27 -0700 Subject: [PATCH] [Bukkit] Made BukkitCommandSender public again. CommandHelper subclasses this, although whether things will work properly after this change is to be said. Fixes WORLDEDIT-3136. --- .../com/sk89q/worldedit/bukkit/BukkitCommandSender.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitCommandSender.java b/src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitCommandSender.java index a8dc5adc2..74dfc2e41 100644 --- a/src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitCommandSender.java +++ b/src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitCommandSender.java @@ -19,8 +19,6 @@ package com.sk89q.worldedit.bukkit; -import com.sk89q.worldedit.LocalWorld; -import com.sk89q.worldedit.PlayerNeededException; import com.sk89q.worldedit.WorldEditPermissionException; import com.sk89q.worldedit.extension.platform.Actor; import com.sk89q.worldedit.internal.cui.CUIEvent; @@ -32,12 +30,12 @@ import java.io.File; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; -class BukkitCommandSender implements Actor { +public class BukkitCommandSender implements Actor { private CommandSender sender; private WorldEditPlugin plugin; - BukkitCommandSender(WorldEditPlugin plugin, CommandSender sender) { + public BukkitCommandSender(WorldEditPlugin plugin, CommandSender sender) { checkNotNull(plugin); checkNotNull(sender); checkArgument(!(sender instanceof Player), "Cannot wrap a player");