From 249ca5d86161c7cc8000f49b3bf1f2ceda8ab730 Mon Sep 17 00:00:00 2001 From: Niklp09 <89982526+Niklp09@users.noreply.github.com> Date: Sat, 20 May 2023 11:21:15 +0200 Subject: [PATCH] fix logic error --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 5b3bb57..a46ab60 100644 --- a/init.lua +++ b/init.lua @@ -422,7 +422,7 @@ minetest.register_node( "pride_flags:upper_mast", { node_placement_prediction = "", on_place = function( itemstack, placer, pointed_thing ) - if not pointed_thing.type == "node" then + if pointed_thing.type ~= "node" then return itemstack end