Skip to content

Commit aedd634

Browse files
committed
Prevent you from setting your fov to 0 as it crashes the game
closes #5760
1 parent 860d5fc commit aedd634

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/meteordevelopment/meteorclient/commands/commands

1 file changed

+1
-1
lines changed

src/main/java/meteordevelopment/meteorclient/commands/commands/FovCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public FovCommand() {
1818

1919
@Override
2020
public void build(LiteralArgumentBuilder<CommandSource> builder) {
21-
builder.then(argument("fov", IntegerArgumentType.integer(0, 180)).executes(context -> {
21+
builder.then(argument("fov", IntegerArgumentType.integer(1, 180)).executes(context -> {
2222
((ISimpleOption) (Object) mc.options.getFov()).meteor$set(context.getArgument("fov", Integer.class));
2323
return SINGLE_SUCCESS;
2424
}));

0 commit comments

Comments
 (0)