diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-12 04:43:42 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-12 04:43:42 +0200 |
commit | 0e2276bad532ffe06e1364900e6456cd5b50214e (patch) | |
tree | 48d947d3c5850dbcd232e7c7566e3a670284465b /src | |
parent | f2d08635a09bc14ccab03fc111f6a85c53abf9cc (diff) | |
download | skyhanni-0e2276bad532ffe06e1364900e6456cd5b50214e.tar.gz skyhanni-0e2276bad532ffe06e1364900e6456cd5b50214e.tar.bz2 skyhanni-0e2276bad532ffe06e1364900e6456cd5b50214e.zip |
Better elite farming weight api error message
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt index e34c99880..b82c44558 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt @@ -81,7 +81,11 @@ class EliteFarmingWeight { private fun update() { if (!GardenAPI.inGarden()) return if (apiError) { - display = Collections.singletonList("§6Farming Weight§7: §cAPI Error!") + display = listOf( + "§6Farming Weight§7: §cError!", + "§cCannot load data from Elite Farmers!", + "§eRejoin garden to try again." + ) return } if (weight == -2.0) { |