summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-24 15:37:08 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-24 15:37:08 +0200
commit17eaea99b8e0f5fc30153c6fcde830e453be414e (patch)
tree66538aaebb8fc4e1296e17c52213d8a46e9c5cf0 /src/main/java/at/hannibal2/skyhanni/features/misc
parenta2a4a8e3662a412121ee5802706f64f8433d7b24 (diff)
downloadskyhanni-17eaea99b8e0f5fc30153c6fcde830e453be414e.tar.gz
skyhanni-17eaea99b8e0f5fc30153c6fcde830e453be414e.tar.bz2
skyhanni-17eaea99b8e0f5fc30153c6fcde830e453be414e.zip
moved PatcherBeacon to inner class
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt (renamed from src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinatesHighlight.kt)5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinatesHighlight.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt
index 5e82e51f2..514a883b4 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinatesHighlight.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt
@@ -1,7 +1,6 @@
package at.hannibal2.skyhanni.features.misc
import at.hannibal2.skyhanni.SkyHanniMod
-import at.hannibal2.skyhanni.data.PatcherBeacon
import at.hannibal2.skyhanni.events.LorenzChatEvent
import at.hannibal2.skyhanni.events.LorenzTickEvent
import at.hannibal2.skyhanni.test.GriffinUtils.drawWaypointFilled
@@ -18,7 +17,7 @@ import net.minecraftforge.event.world.WorldEvent
import net.minecraftforge.fml.common.eventhandler.EventPriority
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
-class PatcherSendCoordinatesHighlight {
+class PatcherSendCoordinates {
private val patcherBeacon = mutableListOf<PatcherBeacon>()
private val logger = LorenzLogger("misc/patchercoords")
@@ -69,4 +68,6 @@ class PatcherSendCoordinatesHighlight {
patcherBeacon.clear()
logger.log("Reset everything (world change)")
}
+
+ data class PatcherBeacon(val location: LorenzVec, val name: String, val time: Long)
} \ No newline at end of file