Merge pull request #11 from Awkanimus/main

Tome crash fix and fix acidic_compound
This commit is contained in:
Sirrobzeroone 2023-01-22 20:12:40 +11:00 committed by GitHub
commit 671546f103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ minetest.register_craftitem("elepower_dynamics:acidic_compound", {
local pos = pointed_thing.under
local node = minetest.get_node(pos)
if node.name ~= epi.water_source then
if node.name ~= epr.water_source then
return itemstack
end

View File

@ -238,7 +238,7 @@ function eletome.gen_craft_grid(recipe,y_off,no_items)
-- handle when recipe includes groups
if string.find(recipe.items[x_cnt],"group") then
local grp_name = string.gsub(recipe.items[x_cnt],"group:","")
local node_name
local node_name = "UNKNOWN"
for name,def in pairs(minetest.registered_nodes) do
if def.groups[grp_name] and not def.groups["wall"] then
node_name = name