From b086fcaa32be34ce92d93bbff6c889830b56befd Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 13 Jul 2025 21:11:18 +0200 Subject: [PATCH] Refactor validator method in download command --- .../commands/schematiccommand/parts/ViewPart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SchematicSystem/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/parts/ViewPart.java b/SchematicSystem/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/parts/ViewPart.java index 60146d4e..c1c277f5 100644 --- a/SchematicSystem/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/parts/ViewPart.java +++ b/SchematicSystem/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/parts/ViewPart.java @@ -92,7 +92,7 @@ public class ViewPart extends SWCommand { } @Register("download") - public void download(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) { + public void download(Player player, @Validator("isSchemValidator") SchematicNode node) { SchematicCommandUtils.download(player, node); } }