Skip to content

Commit

Permalink
Adjust /cenchant time estimate based on new config option
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Mar 3, 2024
1 parent e7b9ec1 commit 8344491
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private static int cenchant(FabricClientCommandSource source, ItemAndEnchantment
if (result.itemThrows() < 0) {
source.sendFeedback(Component.translatable("enchCrack.insn.itemThrows.noDummy"));
} else {
source.sendFeedback(Component.translatable("enchCrack.insn.itemThrows", result.itemThrows(), (float)result.itemThrows() / 20f));
source.sendFeedback(Component.translatable("enchCrack.insn.itemThrows", result.itemThrows(), (float)result.itemThrows() / (Configs.itemThrowsPerTick * 20)));
}
source.sendFeedback(Component.translatable("enchCrack.insn.bookshelves", result.bookshelves()));
source.sendFeedback(Component.translatable("enchCrack.insn.slot", result.slot() + 1));
Expand Down

0 comments on commit 8344491

Please sign in to comment.