diff options
| -rw-r--r-- | gamemode/structuresystem/common.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/structuresystem/common.lua b/gamemode/structuresystem/common.lua index 4996223..1c174d0 100644 --- a/gamemode/structuresystem/common.lua +++ b/gamemode/structuresystem/common.lua @@ -77,7 +77,7 @@ function genericMakeCrafting(tbl) thisrecipe.hasmatsfor = true PrintTable(thisrecipe.Req) for l,m in pairs(thisrecipe.Req) do - if(Resources[l] < m) then + if(Resources[l] == nil or Resources[l] < m) then thisrecipe.hasmatsfor = false break end |
