From 1330c99b7e8932298289331bd4171eca23383f0d Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Tue, 16 Jan 2024 07:40:39 +0000 Subject: [PATCH] Another attempt at #4568 --- .../quark/content/world/module/SpiralSpiresModule.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/violetmoon/quark/content/world/module/SpiralSpiresModule.java b/src/main/java/org/violetmoon/quark/content/world/module/SpiralSpiresModule.java index 082325540b..33aac82e41 100644 --- a/src/main/java/org/violetmoon/quark/content/world/module/SpiralSpiresModule.java +++ b/src/main/java/org/violetmoon/quark/content/world/module/SpiralSpiresModule.java @@ -118,11 +118,17 @@ public void onTeleport(ZEntityTeleport event) { return; List myalite = getAdjacentMyalite(null, world, pos, null); + if(myalite == null || myalite.isEmpty()) { pos = pos.below(); myalite = getAdjacentMyalite(null, world, pos, null); } + if(myalite == null || myalite.isEmpty()) { + pos = pos.relative(event.getEntity().getDirection()); + myalite = getAdjacentMyalite(null, world, pos, null); + } + if(myalite != null && !myalite.isEmpty()) { BlockPos prev; BlockPos cond = pos;