mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-22 06:33:44 +01:00
Fix luacheck (#71)
This commit is contained in:
parent
3e6ba27d49
commit
b27bb6d26b
@ -123,7 +123,7 @@ function drawers.drawer_on_dig(pos, node, player)
|
||||
local i = 1
|
||||
while i <= j do
|
||||
local rndpos = drawers.randomize_pos(pos)
|
||||
if not (i == j) then
|
||||
if i ~= j then
|
||||
core.add_item(rndpos, name .. " " .. stack_max)
|
||||
else
|
||||
core.add_item(rndpos, name .. " " .. count % stack_max)
|
||||
|
Loading…
Reference in New Issue
Block a user