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 | 17ec474109021025b163de4dc615cf91f7f7326e (patch) | |
| tree | c9e261f28e1b5888ad635c542ca99ca74b6c100c | |
| parent | 1271844bc0f07a8d259bb46bbb0648cda77f6f42 (diff) | |
| download | SkyHanni-17ec474109021025b163de4dc615cf91f7f7326e.tar.gz SkyHanni-17ec474109021025b163de4dc615cf91f7f7326e.tar.bz2 SkyHanni-17ec474109021025b163de4dc615cf91f7f7326e.zip | |
Minor garden change.
| -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 |
