From 6eea76a2ffad58628b0d8941e8d0ed34580a8876 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Tue, 13 Dec 2016 19:40:20 +0100 Subject: [PATCH] Don't decrease stack itemcount of slope placer in creative --- advtrains.zip | Bin 1488682 -> 1488715 bytes tracks.lua | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/advtrains.zip b/advtrains.zip index 318fd14e2b258afbb7ade7f83fa6123a51720037..6640cfcc7fa6be0570340130cea11fc8c5195e63 100644 GIT binary patch delta 1355 zcmV-R1+@CA?pn+4T7ZNBgaU*Egam{Iga(8Mgb0KQgbIWUgbaiYgbsucgb;)ggc5`k zgcP(Dmh~y|oQ+9wq=QlD6951#Q~&@902}~xa$#d@b1rOkVO3NK00U(}P*`g~x4-oj znGb(*j~$}@hA`^9C^E?S^g*CCtyxGjyF4N+2FFkjhTjI1D7za+qY*%r>_-8ieyr>Y z)rAl6xw1gWQm`^(#X-DH>%=yU1(a2th)Gu?}c_PR~btd-MgQSxUQ6xigtBA*oQ*v^U$2)??FT`2CXk?eMzo z6P$JYb3}cj+HN*QNh>0!bhUch0MPl&LQS`h(;L+`w^~np2&#;;vJcw$`Xt#kf5*k z)pP03r+hfhJ%ihSF9BCfyHFnu3L`^$r2_I*exc&wk=~H<^t(|*-VHx9MRm&R@)VP6 z=I8)5H1s@-I?LTR^Ka_=apw?aX|jLz2DeVKh+jM5gNn2ZZg_U0WvV(o>eocwyQ#V} z?56kphU^;V+cmhD?jJ??iF^+k=T+=?VJ}Fb1N3tW<1ZGwkw%kajW;97D`s*T#Rp+{ zh+ZZ1N;(y-k3*b%X;9V6kE>NtmPWw!Q*5OpR)FM0J5b3W_J|3_Y<&Dl#~^=K3;POb z>k4dWUPZeoblru)FUh?V`bhLolzrQ8slEDt01US`l%Ur;c?d7CMXf82*fq{`n^W)h z06zf4a^t=WLoo>^rhyisPxn5s+njWxmt7iLTJ5)BdVE6Lrj1qyoS~Yv_}1%6jm?^7 zh`o;?N7fSw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fai z(668I4+DG^aj3;b{d|v-!@v>5%gOL}uZ%QM5}${wKMQ9kzX(UpPOjzb>BXnl!P}}v z&N4@PpMjkh_zA1%qdJDbUPbNtuuD=mUz5|c%%AZjy%Q|Xp1|UtgU$BWtiCQcFS_QQ zNtU){ZO0P;0JKw=YqS<40_QxJkhB&%0hgD|v=&hTy_X)f z7E=QGESGb&7ES@om%_CcPyr&B6Sfvq0Z5l=step then + if minetest.setting_getbool("creative_mode") or istack:get_count()>=step then --start placing local placenodes=lookup[step] while step>0 do minetest.set_node(pos, {name=def.nodename_prefix.."_"..placenodes[step], param2=param2}) - istack:take_item() + if not minetest.setting_getbool("creative_mode") then + istack:take_item() + end step=step-1 pos=vector.subtract(pos, dirvec) end