purge quarry every 99 digs instead of 100
so only one stack needs to be ejected when digging through a single material thanks Huhhila :)
This commit is contained in:
parent
5040260783
commit
fd2844ea44
@ -193,7 +193,7 @@ local function do_digging(pos, meta, net_time)
|
||||
end
|
||||
end
|
||||
dug = dug + 1
|
||||
if full or dug % 100 == 0 then
|
||||
if full or dug % 99 == 0 then
|
||||
-- Time to purge the cache
|
||||
meta:set_int("purge_on", 1)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user