From fb9b882bf7645c8406bc7b14b64689fd5d3120a4 Mon Sep 17 00:00:00 2001 From: William Date: Wed, 27 Dec 2023 17:40:53 +0000 Subject: [PATCH] fix: `/delwarp` not being operator-restricted by default --- .../java/net/william278/huskhomes/command/DelWarpCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/net/william278/huskhomes/command/DelWarpCommand.java b/common/src/main/java/net/william278/huskhomes/command/DelWarpCommand.java index 6a57814a0..44bb90ec7 100644 --- a/common/src/main/java/net/william278/huskhomes/command/DelWarpCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/DelWarpCommand.java @@ -31,6 +31,7 @@ public class DelWarpCommand extends SavedPositionCommand { public DelWarpCommand(@NotNull HuskHomes plugin) { super("delwarp", List.of(), Warp.class, List.of(), plugin); + setOperatorCommand(true); } @Override