Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst
This commit is contained in:
parent
95945c0306
commit
a0c893ca0b
1124 changed files with 64294 additions and 763 deletions
12
mods/moreblocks/stairsplus/util.lua
Normal file
12
mods/moreblocks/stairsplus/util.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
local util = {}
|
||||
|
||||
local table_is_empty = futil.table.is_empty
|
||||
|
||||
function util.item_has_metadata(item)
|
||||
item = type(item) == "userdata" and item or ItemStack(item)
|
||||
local meta = item:get_meta()
|
||||
|
||||
return not table_is_empty(meta:to_table().fields)
|
||||
end
|
||||
|
||||
stairsplus.util = util
|
Loading…
Add table
Add a link
Reference in a new issue