Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
/Blame
Browse files Browse the repository at this point in the history
Former-commit-id: 78c674f
  • Loading branch information
Ghost-chu committed Apr 21, 2020
1 parent 7c1a42c commit 12f3535
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public CommandManager(QuickShop plugin) {
registerCmd(CommandContainer.builder()
.prefix("removeall")
.permission("quickshop.removeall")
.executor(new SubCommand_RemoveAll())
.executor(new SubCommand_RemoveAll(plugin))
.build());
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.maxgamer.quickshop.command.subcommand;

import lombok.AllArgsConstructor;
import org.bukkit.OfflinePlayer;
import org.bukkit.command.CommandSender;
import org.jetbrains.annotations.NotNull;
Expand All @@ -13,10 +14,10 @@
import java.util.List;

import static org.maxgamer.quickshop.util.Util.getPlayerList;

@AllArgsConstructor
public class SubCommand_RemoveAll implements CommandProcesser {

private static QuickShop plugin = QuickShop.instance;
private QuickShop plugin;

@Override
public void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) {
Expand Down

0 comments on commit 12f3535

Please sign in to comment.