From bcb6c0dbb4ac2e6936239b1298290fa933b2b86b Mon Sep 17 00:00:00 2001 From: debiankaios <8063195-debiankaios@users.noreply.gitlab.com> Date: Sun, 21 Aug 2022 16:39:43 +0000 Subject: [PATCH] Fix various code typos/issues --- _en/items/callbacks.md | 2 +- _en/map/timers.md | 2 +- _it/items/callbacks.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_en/items/callbacks.md b/_en/items/callbacks.md index 16affa8..2c03bce 100644 --- a/_en/items/callbacks.md +++ b/_en/items/callbacks.md @@ -194,7 +194,7 @@ out the tool, remove the node, and run the `after_dig_node` callback. minetest.register_node("mymod:mynode", { on_punch = function(pos, node, puncher, pointed_thing) if puncher:is_player() then - minetest.chat_send_player(clicker:get_player_name(), "Ow!") + minetest.chat_send_player(puncher:get_player_name(), "Ow!") end end, }) diff --git a/_en/map/timers.md b/_en/map/timers.md index c0b3143..3f2e1f4 100644 --- a/_en/map/timers.md +++ b/_en/map/timers.md @@ -80,7 +80,7 @@ minetest.register_abm({ nodenames = {"default:dirt_with_grass"}, neighbors = {"default:water_source", "default:water_flowing"}, interval = 10.0, -- Run every 10 seconds - chance = 50, -- Select every 1 in 50 nodes + chance = 50, -- One node has a chance of 1 in 50 to get selected action = function(pos, node, active_object_count, active_object_count_wider) local pos = {x = pos.x, y = pos.y + 1, z = pos.z} diff --git a/_it/items/callbacks.md b/_it/items/callbacks.md index 16affa8..2c03bce 100644 --- a/_it/items/callbacks.md +++ b/_it/items/callbacks.md @@ -194,7 +194,7 @@ out the tool, remove the node, and run the `after_dig_node` callback. minetest.register_node("mymod:mynode", { on_punch = function(pos, node, puncher, pointed_thing) if puncher:is_player() then - minetest.chat_send_player(clicker:get_player_name(), "Ow!") + minetest.chat_send_player(puncher:get_player_name(), "Ow!") end end, })