From af26c6ed76664f2d1ee43cb14df251a45d191b49 Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Thu, 14 Dec 2023 16:48:02 -0500 Subject: [PATCH] Add grindstone --- grindstone.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grindstone.lua b/grindstone.lua index aa32150..e4e3ada 100644 --- a/grindstone.lua +++ b/grindstone.lua @@ -324,6 +324,8 @@ minetest.register_node('x_enchanting:grindstone', { end end + result_total = math.floor(result_total / 10) + result_payment_stack:set_count(result_total) if listname == 'result' and result_stack:is_empty() then