diff --git a/shared/helpers.lua b/shared/helpers.lua index a8ab573..42e77c2 100644 --- a/shared/helpers.lua +++ b/shared/helpers.lua @@ -961,11 +961,11 @@ end function adjustMinMaxZ(coord, table) local table = table local adMinZ, adMaxZ = false, false - if table.minZ > coord.z then + if table.minZ > (coord.z + 0.1) then adMinZ = true table.minZ = (coord.z - 1.05) end - if table.maxZ < coord.z then + if table.maxZ < (coord.z - 0.1) then adMinZ = true table.maxZ = (coord.z + 0.80) end diff --git a/shared/targets.lua b/shared/targets.lua index 4f53404..2ed3f69 100644 --- a/shared/targets.lua +++ b/shared/targets.lua @@ -324,7 +324,6 @@ end ---}, 2.0) ---``` function createBoxTarget(data, opts, dist) - -- if force target off, use jim_bridge built in target functions if Config.System.DontUseTarget then debugPrint("^6Bridge^7: ^2Creating new ^3Box ^2target with ^6jim_bridge ^7"..data[1])