summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/machines/LV/compressor.lua2
-rw-r--r--technic/machines/LV/extractor.lua2
-rw-r--r--technic/machines/register/alloy_furnace.lua2
-rw-r--r--technic/machines/register/grinder_recipes.lua2
4 files changed, 4 insertions, 4 deletions
diff --git a/technic/machines/LV/compressor.lua b/technic/machines/LV/compressor.lua
index b9e4919..c0e590f 100644
--- a/technic/machines/LV/compressor.lua
+++ b/technic/machines/LV/compressor.lua
@@ -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,
diff --git a/technic/machines/LV/extractor.lua b/technic/machines/LV/extractor.lua
index f559ae0..6a620c1 100644
--- a/technic/machines/LV/extractor.lua
+++ b/technic/machines/LV/extractor.lua
@@ -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,
diff --git a/technic/machines/register/alloy_furnace.lua b/technic/machines/register/alloy_furnace.lua
index 6dcca71..ebf5eab 100644
--- a/technic/machines/register/alloy_furnace.lua
+++ b/technic/machines/register/alloy_furnace.lua
@@ -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,
diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua
index cab83ac..d81d421 100644
--- a/technic/machines/register/grinder_recipes.lua
+++ b/technic/machines/register/grinder_recipes.lua
@@ -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,