mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-19 06:00:19 +02:00
get rid of last vestages of "infinite stacks" special handling
just checks for creative mode/priv directly instead, as needed.
This commit is contained in:
@ -89,7 +89,7 @@ for _, c in ipairs(bookcolors) do
|
||||
if data.title and data.title ~= "" then
|
||||
meta:set_string("infotext", data.title)
|
||||
end
|
||||
if not homedecor.expect_infinite_stacks then
|
||||
if not creative.is_enabled_for(plname) then
|
||||
itemstack:take_item()
|
||||
end
|
||||
return itemstack
|
||||
|
Reference in New Issue
Block a user