]> git.lizzy.rs Git - Crafter.git/commitdiff
Fix mistake using manual assignment instead of injection function
authoroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 29 Jun 2020 14:42:44 +0000 (10:42 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 29 Jun 2020 14:42:44 +0000 (10:42 -0400)
mods/redstone/init.lua

index d069404f6d5eddb0483bc654c09e43474c9cc7b3..101170f67d92edcb9c415c7b0092b3c2cdde6b34 100644 (file)
@@ -465,9 +465,9 @@ local function calculate(pos,is_capacitor)
                                        if data.dust and data.dust ~= data.origin then
                                                swap_node(new_vec(x,y,z),{name="redstone:dust_"..data.dust})
                                        end
-                                       --write data back to memory pool
-                                       pool[x][y][z] = data
 
+                                       data_injection(new_vec(x,y,z),data)
+                                       
                                        if data.dust then
                                                --delete the data to speed up next loop
                                                dust_map[x][y][z] = nil