1
0
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:
veikk0 2016-03-28 16:00:59 +03:00
parent c98eec4f5d
commit 1290e15b8e

View File

@ -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