1
0
mirror of https://github.com/HybridDog/nether-pack.git synced 2025-01-12 10:50:24 +01:00

assume player:getpos always returns a vector

remove patch file
This commit is contained in:
HybridDog 2016-05-04 18:27:05 +02:00
parent 2a3e553b9c
commit 99eceb10eb

View File

@ -238,7 +238,8 @@ if nether_prisons then
-- set background when player joins
minetest.register_on_joinplayer(function(player)
minetest.after(0, function(player)
if player and player:getpos() and player:getpos().y < nether.start then
if player
and player:getpos().y < nether.start then
update_background(player, true)
end
end, player)