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