Add files via upload

master
AiTechEye 2019-05-21 17:09:45 +02:00 committed by GitHub
parent 857f9ea46c
commit 9713b99185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -463,9 +463,9 @@ vexcazer.replace=function(use,input)--{pos,stack,replace,invert},input
if input.default and def~=nil and (def.drop=="" or def.unbreakable) then return false end
if vexcazer.undo[input.user_name] then
local nundo = minetest.pos_to_string(pos)
local nundo = minetest.pos_to_string(use.pos)
if not vexcazer.undo[input.user_name][nundo] then
vexcazer.undo[input.user_name][nundo] = minetest.get_node(pos).name
vexcazer.undo[input.user_name][nundo] = minetest.get_node(use.pos).name
end
end