Remove unused variable

Forgot to remove the player name variable after removing the protection check.
master
isaiah658 2018-07-01 08:28:52 -05:00 committed by GitHub
parent 3ea965f45d
commit 99e0e22b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -19,7 +19,6 @@ local function do_anchor_place(itemstack, player, pointed_thing)
log_message("action", string.format("(%d, %d, %d)", place_position.x, place_position.y, place_position.z))
-- Place the floating anchor in the world
local player_name = player:get_player_name()
local node_to_check = minetest.get_node(place_position)
if node_to_check.name == "air" then
minetest.set_node(place_position, { name = "floating_anchor:floating_anchor" })