Skip to content

Commit

Permalink
refactor: change admin command default radius to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed May 18, 2024
1 parent 646f76c commit 6ecfc8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private CommandAPICommand getNoteblockPlaceRemoveCommand() {
} else {
Location loc = (Location) args.getOptional("location").orElse(player.getLocation());
String type = (String) args.get("type");
int radius = (int) args.getOptional("radius").orElse(10);
int radius = (int) args.getOptional("radius").orElse(1);
boolean isRandom = (boolean) args.getOptional("random").orElse(false);
for (Block block : getBlocks(loc, radius, isRandom)) {
if (type == null) continue;
Expand Down

0 comments on commit 6ecfc8c

Please sign in to comment.