Fix invalid check for UI.

This commit is contained in:
RealBadAngel 2014-05-06 22:11:04 +02:00
parent 45e1f05ffc
commit c7a4c05860
4 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,