mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-01 15:50:39 +02:00
an additional fix is needed for the replacer to place cable plates correctly: https://github.com/pandorabox-io/pandorabox.io/issues/392#issuecomment-569590793
This commit is contained in:
@ -241,6 +241,7 @@ function technic.register_cable(tier, size)
|
||||
num = xyz[((fine_pointed[bigger] < 0 and "-") or "") .. bigger]
|
||||
end
|
||||
end
|
||||
if num == nil then num = 1 end
|
||||
return item_place_override_node(
|
||||
itemstack, placer, pointed_thing,
|
||||
{name = "technic:"..ltier.."_cable_plate_"..num}
|
||||
|
Reference in New Issue
Block a user