Skip to content

Commit 442abdb

Browse files
committed
Fix setting group
1 parent ffefc9b commit 442abdb

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

src/main/java/maxsuperman/addons/roller/modules/VillagerRoller.java

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -189,71 +189,69 @@ public class VillagerRoller extends Module {
189189
.build()
190190
);
191191

192-
private final Setting<Boolean> cfSetup = sgGeneral.add(new BoolSetting.Builder()
192+
private final Setting<Boolean> instantRebreak = sgGeneral.add(new BoolSetting.Builder()
193+
.name("CivBreak")
194+
.description("Uses CivBreak to mine the lectern instantly. Best to just stay over the lectern slot.")
195+
.defaultValue(false)
196+
.build()
197+
);
198+
199+
private final Setting<Boolean> cfSetup = sgChatFeddback.add(new BoolSetting.Builder()
193200
.name("setup")
194201
.description("Hints on what to do in the beginning (otherwise denoted in modules list state)")
195202
.defaultValue(true)
196203
.build()
197204
);
198205

199-
private final Setting<Boolean> cfPausedOnScreen = sgGeneral.add(new BoolSetting.Builder()
206+
private final Setting<Boolean> cfPausedOnScreen = sgChatFeddback.add(new BoolSetting.Builder()
200207
.name("paused-on-screen")
201208
.description("Rolling paused, interact with villager to continue")
202209
.defaultValue(true)
203210
.build()
204211
);
205212

206-
private final Setting<Boolean> cfLowerLevel = sgGeneral.add(new BoolSetting.Builder()
213+
private final Setting<Boolean> cfLowerLevel = sgChatFeddback.add(new BoolSetting.Builder()
207214
.name("found-lower-level")
208215
.description("Found enchant %s but it is not max level: %d (max) > %d (found)")
209216
.defaultValue(true)
210217
.build()
211218
);
212219

213-
private final Setting<Boolean> cfTooExpensive = sgGeneral.add(new BoolSetting.Builder()
220+
private final Setting<Boolean> cfTooExpensive = sgChatFeddback.add(new BoolSetting.Builder()
214221
.name("found-too-expensive")
215222
.description("Found enchant %s but it costs too much: %s (max price) < %d (cost)")
216223
.defaultValue(true)
217224
.build()
218225
);
219226

220-
private final Setting<Boolean> cfIgnored = sgGeneral.add(new BoolSetting.Builder()
227+
private final Setting<Boolean> cfIgnored = sgChatFeddback.add(new BoolSetting.Builder()
221228
.name("found-not-on-the-list")
222229
.description("Found enchant %s but it is not in the list.")
223230
.defaultValue(true)
224231
.build()
225232
);
226233

227-
private final Setting<Boolean> cfProfessionTimeout = sgGeneral.add(new BoolSetting.Builder()
234+
private final Setting<Boolean> cfProfessionTimeout = sgChatFeddback.add(new BoolSetting.Builder()
228235
.name("profession-timeout")
229236
.description("Villager did not take profession within the specified time")
230237
.defaultValue(true)
231238
.build()
232239
);
233240

234-
private final Setting<Boolean> cfPlaceFailed = sgGeneral.add(new BoolSetting.Builder()
241+
private final Setting<Boolean> cfPlaceFailed = sgChatFeddback.add(new BoolSetting.Builder()
235242
.name("place-failed")
236243
.description("Failed placing, can't place or can't get lectern to hotbar (they still trigger place-failed settings)")
237244
.defaultValue(true)
238245
.build()
239246
);
240247

241-
private final Setting<Boolean> cfDiscrepancy = sgGeneral.add(new BoolSetting.Builder()
248+
private final Setting<Boolean> cfDiscrepancy = sgChatFeddback.add(new BoolSetting.Builder()
242249
.name("discrepancy")
243250
.description("Somehow roller got into state it was not expecting (likely AC mess)")
244251
.defaultValue(true)
245252
.build()
246253
);
247254

248-
private final Setting<Boolean> instantRebreak = sgGeneral.add(new BoolSetting.Builder()
249-
.name("CivBreak")
250-
.description("Uses CivBreak to mine the lecturn instantly. Best to just stay over the lecturn slot.")
251-
.defaultValue(false)
252-
.build()
253-
);
254-
255-
256-
257255
private enum State {
258256
DISABLED,
259257
WAITING_FOR_TARGET_BLOCK,

0 commit comments

Comments
 (0)