Skip to content

Commit

Permalink
Raised limits
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrptonaught committed Oct 8, 2019
1 parent 3ae27f7 commit af92fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/kyrptonaught/diggusmaximus/Excavate.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Excavate {
private ItemStack tool;
private World world;
private static final Set<BlockPos> cube = BlockPos.stream(-1, -1, -1, 1, 1, 1).map(BlockPos::toImmutable).collect(Collectors.toSet());
private final int maxMined = Math.min(DiggusMaximusMod.getOptions().maxMinedBlocks, 1024);
private final int maxMined = Math.min(DiggusMaximusMod.getOptions().maxMinedBlocks, 2048);
private final double maxDistance = Math.min(DiggusMaximusMod.getOptions().maxMineDistance + 1, 128);
private Deque<BlockPos> points = new ArrayDeque<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public String getModId() {

category.addEntry(new KeyBindEntry("key.diggusmaximus.config.hotkey", options.keybinding, key -> options.keybinding = key));
category.addEntry(entryBuilder.startBooleanToggle("key.diggusmaximus.config.minediag", options.mineDiag).setSaveConsumer(val -> options.mineDiag = val).setDefaultValue(true).build());
category.addEntry(entryBuilder.startIntField("key.diggusmaximus.config.maxmine", options.maxMinedBlocks).setSaveConsumer(val -> options.maxMinedBlocks = val).setDefaultValue(40).setMin(1).setMax(1024).build());
category.addEntry(entryBuilder.startIntField("key.diggusmaximus.config.maxmine", options.maxMinedBlocks).setSaveConsumer(val -> options.maxMinedBlocks = val).setDefaultValue(40).setMin(1).setMax(2048).build());
category.addEntry(entryBuilder.startIntField("key.diggusmaximus.config.maxdistance", options.maxMineDistance).setSaveConsumer(val -> options.maxMineDistance = val).setDefaultValue(10).setMin(1).setMax(128).build());

category.addEntry(entryBuilder.startBooleanToggle("key.diggusmaximus.config.autopickup", options.autoPickup).setSaveConsumer(val -> options.autoPickup = val).setDefaultValue(true).build());
Expand Down

0 comments on commit af92fcc

Please sign in to comment.