]> git.lizzy.rs Git - crafter_client.git/blobdiff - fire_handling.lua
Add in check to see if sender is server
[crafter_client.git] / fire_handling.lua
index d4a6cd1e8d7a7d993a15f1e205f9d7a8a197bf45..c47e0e257dfd195fc0f203f4ebde868eb0707f83 100644 (file)
@@ -4,7 +4,7 @@ local fire_animation_timer = 0
 local fire_animation_tile = 0
 --receive the server states
 minetest.register_on_modchannel_message(function(channel_name, sender, message)
-       if channel_name == name..":fire_state" then
+       if sender == "" and channel_name == name..":fire_state" then
         on_fire = tonumber(message)
        end
 end)