mirror of
https://github.com/4Evergreen4/death_messages.git
synced 2024-11-14 06:10:21 +01:00
Changed singleplayer name
This commit is contained in:
parent
c98eec4f5d
commit
1290e15b8e
2
init.lua
2
init.lua
|
@ -104,7 +104,7 @@ minetest.register_on_dieplayer(function(player)
|
|||
local player_name = player:get_player_name()
|
||||
local node = minetest.registered_nodes[minetest.get_node(player:getpos()).name]
|
||||
if minetest.is_singleplayer() then
|
||||
player_name = "You"
|
||||
player_name = "The player"
|
||||
end
|
||||
-- Death by lava
|
||||
if node.groups.lava ~= nil then
|
||||
|
|
Loading…
Reference in New Issue
Block a user