diff --git a/src/main/java/com/garbagemule/MobArena/commands/setup/ClassChestCommand.java b/src/main/java/com/garbagemule/MobArena/commands/setup/ClassChestCommand.java index 4e1a9e5..6743690 100644 --- a/src/main/java/com/garbagemule/MobArena/commands/setup/ClassChestCommand.java +++ b/src/main/java/com/garbagemule/MobArena/commands/setup/ClassChestCommand.java @@ -7,13 +7,12 @@ import com.garbagemule.MobArena.commands.Command; import com.garbagemule.MobArena.commands.CommandInfo; import com.garbagemule.MobArena.commands.Commands; import com.garbagemule.MobArena.framework.ArenaMaster; -import com.garbagemule.MobArena.util.config.ConfigUtils; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import java.util.HashSet; +import java.util.Set; import static com.garbagemule.MobArena.util.config.ConfigUtils.setLocation; @@ -42,7 +41,7 @@ public class ClassChestCommand implements Command { } Player p = (Player) sender; - Block b = p.getTargetBlock(new HashSet(), 10); + Block b = p.getTargetBlock((Set) null, 10); switch (b.getType()) { case CHEST: