mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-27 03:10:29 +01:00
Fix invalid check for UI.
This commit is contained in:
parent
45e1f05ffc
commit
c7a4c05860
@ -3,7 +3,7 @@ technic.compressor_recipes = {}
|
|||||||
|
|
||||||
local S = technic.getter
|
local S = technic.getter
|
||||||
|
|
||||||
if unified_inventory.register_craft_type then
|
if unified_inventory and unified_inventory.register_craft_type then
|
||||||
unified_inventory.register_craft_type("compressing", {
|
unified_inventory.register_craft_type("compressing", {
|
||||||
description = S("Compressing"),
|
description = S("Compressing"),
|
||||||
height = 1,
|
height = 1,
|
||||||
|
@ -3,7 +3,7 @@ technic.extractor_recipes ={}
|
|||||||
|
|
||||||
local S = technic.getter
|
local S = technic.getter
|
||||||
|
|
||||||
if unified_inventory.register_craft_type then
|
if unified_inventory and unified_inventory.register_craft_type then
|
||||||
unified_inventory.register_craft_type("extracting", {
|
unified_inventory.register_craft_type("extracting", {
|
||||||
description = S("Extracting"),
|
description = S("Extracting"),
|
||||||
height = 1,
|
height = 1,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
local S = technic.getter
|
local S = technic.getter
|
||||||
|
|
||||||
if unified_inventory.register_craft_type then
|
if unified_inventory and unified_inventory.register_craft_type then
|
||||||
unified_inventory.register_craft_type("alloy", {
|
unified_inventory.register_craft_type("alloy", {
|
||||||
description = S("Alloy cooking"),
|
description = S("Alloy cooking"),
|
||||||
height = 2,
|
height = 2,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
local S = technic.getter
|
local S = technic.getter
|
||||||
|
|
||||||
if unified_inventory.register_craft_type then
|
if unified_inventory and unified_inventory.register_craft_type then
|
||||||
unified_inventory.register_craft_type("grinding", {
|
unified_inventory.register_craft_type("grinding", {
|
||||||
description = S("Grinding"),
|
description = S("Grinding"),
|
||||||
height = 1,
|
height = 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user