mirror of
https://github.com/HybridDog/nether-pack.git
synced 2025-01-26 09:20:19 +01:00
fix old newbie mistake
This commit is contained in:
parent
03da51be24
commit
578919c469
@ -161,10 +161,6 @@ end
|
|||||||
|
|
||||||
|
|
||||||
local function dif(z1, z2)
|
local function dif(z1, z2)
|
||||||
if z1 < 0
|
|
||||||
and z2 < 0 then
|
|
||||||
z1,z2 = -z1,-z2
|
|
||||||
end
|
|
||||||
return math.abs(z1-z2)
|
return math.abs(z1-z2)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user