1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Fix whitespace errors to silence luacheck.

Currently all minetest_game PR's are failing travis since the
upstream luacheck now also warns about whitespace issues, and
there are a few of those in the code. This fixes all of them
so we can yet again rely on luacheck.
This commit is contained in:
Auke Kok
2016-11-19 19:24:37 -08:00
committed by Auke Kok
parent 47efa2f558
commit 75caa9167c
7 changed files with 11 additions and 11 deletions

View File

@ -111,7 +111,7 @@ minetest.register_abm({
end
local nn_def = minetest.registered_nodes[nn.name] or nil
pos.y = pos.y - 1
if nn_def and nn_def.walkable and minetest.get_item_group(nn.name, "plant") == 0 then
minetest.set_node(pos, {name = base})
return
@ -133,7 +133,7 @@ minetest.register_abm({
if minetest.get_item_group(nn.name, "plant") == 0 and minetest.get_item_group(nn.name, "seed") == 0 then
minetest.set_node(pos, {name = base})
end
-- if its wet turn it back into dry soil
elseif wet_lvl == 1 then
minetest.set_node(pos, {name = dry})
@ -144,7 +144,7 @@ minetest.register_abm({
})
for i = 1, 5 do
for i = 1, 5 do
minetest.override_item("default:grass_"..i, {drop = {
max_items = 1,
items = {
@ -153,7 +153,7 @@ for i = 1, 5 do
}
}})
end
minetest.override_item("default:junglegrass", {drop = {
max_items = 1,
items = {