mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-21 23:00:22 +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:
@ -104,7 +104,7 @@ local function stack(itemstack, placer, fdir, pos, def, pos2, node1, node2, poin
|
||||
ctrl_node_def.after_place_node(pos, placer, itemstack, pointed_thing)
|
||||
end
|
||||
|
||||
if not homedecor.expect_infinite_stacks then
|
||||
if not creative.is_enabled_for(placer_name) then
|
||||
itemstack:take_item()
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user