]> git.lizzy.rs Git - crafter_client.git/commitdiff
Make client check for extremely specific crafter signature node and update version
authoroilboi <47129783+oilboi@users.noreply.github.com>
Tue, 9 Jun 2020 17:11:06 +0000 (13:11 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Tue, 9 Jun 2020 17:11:06 +0000 (13:11 -0400)
init.lua
version_send.lua

index 696faa3031e1a66a2e68bca3660d3ddaf324c85f..c9b9da0a89a4cc437e315996aba29ba123951db1 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -4,6 +4,9 @@ for _,r in pairs(minetest.get_csm_restrictions()) do
                return
        end
 end
+if not minetest.get_node_def("client_version_checker:this_is_the_signature_of_crafter00111010010001000011110000110011") then
+       return
+end
 
 --declare globals
 weather_intake = nil
index 6b62af06da8044247045443e93590e3906e9f4eb..09658c73617c3ac5c87e953aa51d14fda9ff1144 100644 (file)
@@ -1,3 +1,3 @@
 minetest.after(2,function() -- this needs a few seconds for the mod channel to open up
-    version_channel:send_all("0.05006")
+    version_channel:send_all("0.05007")
 end)
\ No newline at end of file