forked from SteamWar/SteamWar
Refactor validator method in download command
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ public class ViewPart extends SWCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Register("download")
|
@Register("download")
|
||||||
public void download(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) {
|
public void download(Player player, @Validator("isSchemValidator") SchematicNode node) {
|
||||||
SchematicCommandUtils.download(player, node);
|
SchematicCommandUtils.download(player, node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user