diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-24 15:37:08 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-24 15:37:08 +0200 |
commit | 17eaea99b8e0f5fc30153c6fcde830e453be414e (patch) | |
tree | 66538aaebb8fc4e1296e17c52213d8a46e9c5cf0 /src/main | |
parent | a2a4a8e3662a412121ee5802706f64f8433d7b24 (diff) | |
download | skyhanni-17eaea99b8e0f5fc30153c6fcde830e453be414e.tar.gz skyhanni-17eaea99b8e0f5fc30153c6fcde830e453be414e.tar.bz2 skyhanni-17eaea99b8e0f5fc30153c6fcde830e453be414e.zip |
moved PatcherBeacon to inner class
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/PatcherCoordinatesClass.kt | 5 | ||||
-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 |
3 files changed, 4 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt index 7e30efd80..3e7bf6e43 100644 --- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt +++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt @@ -284,7 +284,7 @@ class SkyHanniMod { loadModule(GardenComposterInventoryFeatures()) loadModule(MinionCollectLogic()) loadModule(PasteIntoSigns()) - loadModule(PatcherSendCoordinatesHighlight()) + loadModule(PatcherSendCoordinates()) loadModule(EstimatedItemValue) loadModule(EstimatedWardrobePrice()) loadModule(ComposterInventoryNumbers()) diff --git a/src/main/java/at/hannibal2/skyhanni/data/PatcherCoordinatesClass.kt b/src/main/java/at/hannibal2/skyhanni/data/PatcherCoordinatesClass.kt deleted file mode 100644 index d90600df8..000000000 --- a/src/main/java/at/hannibal2/skyhanni/data/PatcherCoordinatesClass.kt +++ /dev/null @@ -1,5 +0,0 @@ -package at.hannibal2.skyhanni.data - -import at.hannibal2.skyhanni.utils.LorenzVec - -data class PatcherBeacon(val location: LorenzVec, val name: String, val time: Long)
\ No newline at end of file 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 |