1
0
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:
Vanessa Ezekowitz
2017-08-12 17:52:29 -04:00
parent 6349c53824
commit f03e71397a
4 changed files with 8 additions and 11 deletions

View File

@ -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