Skip to content

Commit

Permalink
don't refund crafting recipes from newly created benches
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxionary committed Mar 30, 2024
1 parent dc325be commit 812ecaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bench.lua
Expand Up @@ -26,6 +26,7 @@ minetest.register_node("crafting_bench:workbench", {
local meta = minetest.get_meta(pos)
meta:set_string("formspec", crafting_bench.resources.formspec)
meta:set_string("infotext", S("Workbench"))
meta:set_string("refunded", "true") -- new workbenches shouldn't refund things
local inv = meta:get_inventory()
inv:set_size("src", invsize_src)
inv:set_size("rec", 3 * 3)
Expand Down
2 changes: 1 addition & 1 deletion mod.conf
Expand Up @@ -5,7 +5,7 @@ website = https://content.minetest.net/packages/rheo/crafting_bench/
author = flux
license = LGPL-3.0-or-later
media_license = CC-BY-SA-4.0
version = 2024-02-02
version = 2024-03-30
min_minetest_version = 5.8.0
supported_games = *
depends = fmod, futil
Expand Down

0 comments on commit 812ecaa

Please sign in to comment.