1
0
Fork 0

Fix crash with mcl_heads

This commit is contained in:
Lizzy Fleckenstein 2021-04-17 13:53:41 +02:00
parent c7c47c1ca7
commit 6bbea11fb8
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ local function addhead(name, texture, desc, longdesc, rangemob, rangefactor)
local wdir = minetest.dir_to_wallmounted(diff) local wdir = minetest.dir_to_wallmounted(diff)
local itemstring = itemstack:get_name() local itemstring = itemstack:get_name()
--local fakestack = ItemStack(itemstack) local fakestack = ItemStack(itemstack)
local idef = fakestack:get_definition() local idef = fakestack:get_definition()
local retval local retval
if wdir == 0 or wdir == 1 then if wdir == 0 or wdir == 1 then