]> git.lizzy.rs Git - Crafter.git/commitdiff
Fix ironblocks creating stack overflow
authoroilboi <47129783+oilboi@users.noreply.github.com>
Tue, 30 Jun 2020 14:46:06 +0000 (10:46 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Tue, 30 Jun 2020 14:46:06 +0000 (10:46 -0400)
mods/redstone/capacitors.lua

index 694c597be371d742fd586eb89575c9daf0ca98c4..5dbfa4cd16f2cfd18669991603cfe6dd951454cb 100644 (file)
@@ -50,10 +50,6 @@ minetest.register_lbm({
             activator = true,
             capacitor = 0,
           })
-          minetest.after(0,function()
-              --redstone.update(pos)
-              redstone.update(pos,true)
-          end)
     end,
 })
 
@@ -128,9 +124,5 @@ minetest.register_lbm({
             activator = true,
             capacitor = 1,
         })
-        minetest.after(0,function()
-            --redstone.update(pos)
-            redstone.update(pos,true)
-        end)
     end,
 })
\ No newline at end of file