remove uncessary nil check

This commit is contained in:
fluxionary 2022-10-01 12:11:44 -07:00 committed by GitHub
parent f1b6f20b13
commit 0ea6580320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -53,10 +53,6 @@ end
default.chest.open_chests = {}
minetest.register_on_player_receive_fields(function(player, formname, fields)
if not player then
return
end
local pn = player:get_player_name()
if formname ~= "default:chest" then