diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-02 13:32:05 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-02 13:32:05 +0100 |
commit | bed5c3e71c36086b7dcdfaeb8db357ba28472ab9 (patch) | |
tree | c9e261f28e1b5888ad635c542ca99ca74b6c100c /src/main/java/at/hannibal2 | |
parent | be343281315c8afc10b6d91f75afc94ee001c14d (diff) | |
download | skyhanni-bed5c3e71c36086b7dcdfaeb8db357ba28472ab9.tar.gz skyhanni-bed5c3e71c36086b7dcdfaeb8db357ba28472ab9.tar.bz2 skyhanni-bed5c3e71c36086b7dcdfaeb8db357ba28472ab9.zip |
Minor garden change.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt index 06c4c794b..a57beed0e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt @@ -16,6 +16,7 @@ import at.hannibal2.skyhanni.utils.RenderUtils.renderStringsAndItems import at.hannibal2.skyhanni.utils.TimeUtils import net.minecraft.client.Minecraft import net.minecraft.item.ItemStack +import net.minecraftforge.fml.common.eventhandler.EventPriority import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import net.minecraftforge.fml.common.gameevent.TickEvent import java.util.* @@ -39,7 +40,7 @@ class GardenCropMilestoneDisplay { } } - @SubscribeEvent + @SubscribeEvent(priority = EventPriority.LOW) fun onProfileJoin(event: ProfileJoinEvent) { if (GardenCropMilestones.cropCounter.values.sum() == 0L) { needsInventory = true |