From 9df32a47f20a111944bae184a14d2a65a1229fc7 Mon Sep 17 00:00:00 2001 From: Dav32_1 <64831818+Dav321@users.noreply.github.com> Date: Wed, 28 Jun 2023 17:35:16 +0200 Subject: [PATCH] //update crash fix --- .../redstonetools/features/commands/update/UpdateFeature.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/tools/redstone/redstonetools/features/commands/update/UpdateFeature.java b/src/main/java/tools/redstone/redstonetools/features/commands/update/UpdateFeature.java index f7e1078e..f03199dc 100644 --- a/src/main/java/tools/redstone/redstonetools/features/commands/update/UpdateFeature.java +++ b/src/main/java/tools/redstone/redstonetools/features/commands/update/UpdateFeature.java @@ -10,7 +10,7 @@ import tools.redstone.redstonetools.utils.WorldEditUtils; @AutoService(AbstractFeature.class) -@Feature(name = "Update", description = "Forces block updates in the selected area.", command = "/update") +@Feature(name = "Update", description = "Forces block updates in the selected area.", command = "/update", worldedit = true) public class UpdateFeature extends CommandFeature { @Override protected Feedback execute(ServerCommandSource source) throws CommandSyntaxException { @@ -25,4 +25,4 @@ protected Feedback execute(ServerCommandSource source) throws CommandSyntaxExcep return RegionUpdater.updateRegion(source.getWorld(), selection.getMinimumPoint(), selection.getMaximumPoint()); } -} \ No newline at end of file +}