Skip to content

Commit 42dd4b3

Browse files
committed
Fix command only can be executed by Player
1 parent f1e5bf4 commit 42dd4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/command/CommandManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public CommandManager(QuickShop plugin) {
329329
registerCmd(CommandContainer.builder()
330330
.prefix("purge")
331331
.permission("quickshop.purge")
332-
.executor(new SubCommand_ToggleDisplay(plugin))
332+
.executor(new SubCommand_Purge(plugin))
333333
.build());
334334
// registerCmd(CommandContainer.builder()
335335
// .prefix("backup")

0 commit comments

Comments
 (0)