Add fishing particle highlighter

Currently does not work when sneaking or when the bobber moves too much, since the position desyncs with the server
This commit is contained in:
nea
2023-05-07 12:22:36 +02:00
parent 229f724ef4
commit 942dd629ef
13 changed files with 238 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ package moe.nea.notenoughupdates.features
import kotlinx.serialization.Serializable
import kotlinx.serialization.serializer
import moe.nea.notenoughupdates.NotEnoughUpdates
import moe.nea.notenoughupdates.features.fishing.FishingWarning
import moe.nea.notenoughupdates.features.world.FairySouls
import moe.nea.notenoughupdates.util.data.DataHolder
@@ -24,6 +25,7 @@ object FeatureManager : DataHolder<FeatureManager.Config>(serializer(), "feature
synchronized(this) {
if (hasAutoloaded) return
loadFeature(FairySouls)
loadFeature(FishingWarning)
hasAutoloaded = true
}
}