aboutsummaryrefslogtreecommitdiff
path: root/circular_saw.lua
diff options
context:
space:
mode:
authorCalinou <calinou9999spam@gmail.com>2013-07-11 21:27:22 +0200
committerCalinou <calinou9999spam@gmail.com>2013-07-11 21:27:22 +0200
commit5ec13858bc2021c60366e7c002ee26e08e600f4f (patch)
treee9138d1c18324e2505efb03e052640af08d4bac5 /circular_saw.lua
parent85aea72376f98a8fc17c3f109a4dd0d987c2b6eb (diff)
downloadmoreblocks-5ec13858bc2021c60366e7c002ee26e08e600f4f.tar.gz
moreblocks-5ec13858bc2021c60366e7c002ee26e08e600f4f.tar.bz2
moreblocks-5ec13858bc2021c60366e7c002ee26e08e600f4f.zip
Fix double space
Diffstat (limited to 'circular_saw.lua')
-rw-r--r--circular_saw.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/circular_saw.lua b/circular_saw.lua
index 1e385c9..0e6687e 100644
--- a/circular_saw.lua
+++ b/circular_saw.lua
@@ -136,7 +136,7 @@ end
-- The amount of items offered per shape can be configured
circular_saw.on_receive_fields = function(pos, formname, fields, sender)
local meta = minetest.env:get_meta(pos);
- if(fields.max_offered and tonumber(fields.max_offered) > 0 and tonumber(fields.max_offered) < 99) then
+ if(fields.max_offered and tonumber(fields.max_offered) > 0 and tonumber(fields.max_offered) < 99) then
meta:set_string("max_offered", fields.max_offered);
circular_saw.update_inventory(pos, 0); -- update to show the correct number of items
end