merge upstream commit: Remove unused and clean up missused variable-value assignments.

This commit is contained in:
Tim 2016-06-26 13:34:14 +02:00 committed by tchncs
parent 5b36a03f02
commit 0c3d4135e1
14 changed files with 634 additions and 30 deletions

View file

@ -174,7 +174,6 @@ minetest.register_on_dieplayer(function(player)
pos.z = math.floor(pos.z+0.5)
local param2 = minetest.dir_to_facedir(player:get_look_dir())
local player_name = player:get_player_name()
local player_inv = player:get_inventory()
if (not may_replace(pos, player)) then
if (may_replace({x=pos.x, y=pos.y+1, z=pos.z}, player)) then