forked from VoxeLibre/VoxeLibre
fix spaces being used for indentation instead of tabs
This commit is contained in:
parent
59a89b2525
commit
5bef4e9df1
|
@ -452,8 +452,7 @@ function mcl_spawn.get_player_spawn_pos(player)
|
||||||
if bgroup ~= 1 and bgroup ~= 2 then
|
if bgroup ~= 1 and bgroup ~= 2 then
|
||||||
-- Bed is destroyed:
|
-- Bed is destroyed:
|
||||||
if player and player:is_player() then
|
if player and player:is_player() then
|
||||||
|
local checkpos = minetest.string_to_pos(player:get_meta():get_string("mcl_beds:spawn"))
|
||||||
local checkpos = minetest.string_to_pos(player:get_meta():get_string("mcl_beds:spawn"))
|
|
||||||
local checknode = minetest.get_node(checkpos)
|
local checknode = minetest.get_node(checkpos)
|
||||||
|
|
||||||
if(string.match(checknode.name, "mcl_beds:respawn_anchor_charged_")) then
|
if(string.match(checknode.name, "mcl_beds:respawn_anchor_charged_")) then
|
||||||
|
|
Loading…
Reference in New Issue