mirror of
https://github.com/minetest-mods/throwing.git
synced 2025-01-09 01:30:26 +01:00
Fix operator precedence mistake
This commit is contained in:
parent
bad954bdd1
commit
042fe054e6
2
init.lua
2
init.lua
@ -92,7 +92,7 @@ local function arrow_step(self, dtime)
|
||||
local node = minetest.get_node(pos)
|
||||
|
||||
local logging = function(message, level)
|
||||
minetest.log(level or "action", "[throwing] Arrow "..self.item or self.name.." throwed by player "..self.player.." "..tostring(self.timer).."s ago "..message)
|
||||
minetest.log(level or "action", "[throwing] Arrow "..(self.item or self.name).." throwed by player "..self.player.." "..tostring(self.timer).."s ago "..message)
|
||||
end
|
||||
|
||||
local hit = function(pos, node, obj)
|
||||
|
Loading…
Reference in New Issue
Block a user