aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-28 23:14:33 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-28 23:14:33 +0100
commit20ad432844c720fd3c2fffc56505a300d7462c14 (patch)
treea516e556a838f7c0c2051162dfe0df322409ee05 /src
parente05de00532b49bf7cb620a3a4b1da31889caf3b8 (diff)
downloadskyhanni-20ad432844c720fd3c2fffc56505a300d7462c14.tar.gz
skyhanni-20ad432844c720fd3c2fffc56505a300d7462c14.tar.bz2
skyhanni-20ad432844c720fd3c2fffc56505a300d7462c14.zip
Fixed showing garden outside in scoreboard immediately after teleporting to a plot.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenPlotAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenPlotAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenPlotAPI.kt
index dc60cd61a..0fd984346 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenPlotAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenPlotAPI.kt
@@ -76,7 +76,7 @@ object GardenPlotAPI {
val a = LorenzVec(minX, 0.0, minY)
val b = LorenzVec(maxX, 256.0, maxY)
val middle = a.interpolate(b, 0.5).copy(y = 10.0)
- val box = a.axisAlignedTo(b)
+ val box = a.axisAlignedTo(b).expand(0.0001, 0.0, 0.0001)
list.add(Plot(id, slot, box, middle))
slot++
}