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

@ -3,7 +3,7 @@ technic.compressor_recipes = {}
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", {
description = S("Compressing"),
height = 1,

@ -3,7 +3,7 @@ technic.extractor_recipes ={}
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", {
description = S("Extracting"),
height = 1,

@ -1,7 +1,7 @@
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", {
description = S("Alloy cooking"),
height = 2,

@ -1,7 +1,7 @@
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", {
description = S("Grinding"),
height = 1,