Tentative de correction d'un crash

This commit is contained in:
sys4-fr 2019-02-10 02:22:52 +01:00
부모 1911b5d160
커밋 4fa4977478
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -274,6 +274,14 @@ minetest.register_on_dignode(function(pos, oldnode, digger)
if not old and tname == "" then
old = 0
end
--debug
if not old then
old = 0
print("Debug invtweak: OLD is nil\nplayer is ")
print(name)
print("\nname is ")
print(tname)
end
local new = item:get_wear()
if old ~= new then