Skip to content

Commit

Permalink
Merge pull request #24 from mt-mods/voxelManip
Browse files Browse the repository at this point in the history
whitespace
  • Loading branch information
SwissalpS committed Feb 17, 2022
2 parents 356ffc2 + 7482083 commit 3aad64e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions airpump.lua
Expand Up @@ -130,12 +130,12 @@ minetest.register_node("vacuum:airpump", {
end,

on_receive_fields = function(pos, formname, fields, sender)
local meta = minetest.get_meta(pos);
local meta = minetest.get_meta(pos)

if minetest.is_protected(pos, sender:get_player_name()) then
-- not allowed
return
end
if minetest.is_protected(pos, sender:get_player_name()) then
-- not allowed
return
end

if fields.flush then
if not vacuum.can_flush_airpump(pos) then
Expand Down

0 comments on commit 3aad64e

Please sign in to comment.