CraftSystem: minor change
This commit is contained in:
@@ -24,7 +24,6 @@ local CraftSystem = {
|
||||
}
|
||||
|
||||
|
||||
|
||||
--- Craft Types ---
|
||||
|
||||
---@alias CraftSystem.BaseCraftType 'primitive'|'immersive'|'processing'
|
||||
@@ -123,8 +122,8 @@ function CraftSystem:registerProcessingCraft(type, craftName, def)
|
||||
handler:registerCraft(craftName, def)
|
||||
end
|
||||
|
||||
--- Methods for performing crafting ---
|
||||
|
||||
--- Methods for performing crafting ---
|
||||
|
||||
---@param craft CraftSystem.BaseCraft
|
||||
---@param recipeIndex integer
|
||||
@@ -205,7 +204,7 @@ end
|
||||
---@param count integer
|
||||
---@return boolean check true if craft can be produced
|
||||
---@return ItemStack[] materialStacks list of itemStacks for crafting
|
||||
function CraftSystem:checkPossiblePlayerInventoryCrafting(player, craft, recipeIndex, count, flags)
|
||||
function CraftSystem:checkPossiblePlayerInventoryCrafting(player, craft, recipeIndex, count)
|
||||
local inventory = player:get_inventory()
|
||||
|
||||
local OutputStack = ItemStack(craft.output)
|
||||
|
||||
Reference in New Issue
Block a user