diff --git a/src/main/java/net/earthcomputer/clientcommands/command/CEnchantCommand.java b/src/main/java/net/earthcomputer/clientcommands/command/CEnchantCommand.java index 3a33761d2..3af9f7f7f 100644 --- a/src/main/java/net/earthcomputer/clientcommands/command/CEnchantCommand.java +++ b/src/main/java/net/earthcomputer/clientcommands/command/CEnchantCommand.java @@ -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));