mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 06:13:17 -04:00
remove uncessary nil check
This commit is contained in:
parent
f1b6f20b13
commit
0ea6580320
1 changed files with 0 additions and 4 deletions
|
@ -53,10 +53,6 @@ end
|
||||||
default.chest.open_chests = {}
|
default.chest.open_chests = {}
|
||||||
|
|
||||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||||
if not player then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
local pn = player:get_player_name()
|
local pn = player:get_player_name()
|
||||||
|
|
||||||
if formname ~= "default:chest" then
|
if formname ~= "default:chest" then
|
||||||
|
|
Loading…
Add table
Reference in a new issue