aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2023-07-05 17:31:47 +0200
committerGitHub <noreply@github.com>2023-07-05 17:31:47 +0200
commitd4c242bf976431722d7928883526e79ac74845eb (patch)
treeb7a8b9b534cca0e099fb0d6bb32080bdb4fe3cad /src/main/java/at/hannibal2/skyhanni/features
parentd12f0d3d6935b516066bd750322b61230b194910 (diff)
downloadskyhanni-d4c242bf976431722d7928883526e79ac74845eb.tar.gz
skyhanni-d4c242bf976431722d7928883526e79ac74845eb.tar.bz2
skyhanni-d4c242bf976431722d7928883526e79ac74845eb.zip
Added support for chumcap bucket to the chum bucket hider (#301)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt
index 5e648d638..98934941f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt
@@ -38,7 +38,7 @@ class ChumBucketHider {
val name = entity.name
// First text line
- if (name.endsWith("'s Chum Bucket")) {
+ if (name.endsWith("'s Chum Bucket") || name.endsWith("'s Chumcap Bucket")) {
if (name.contains(LorenzUtils.getPlayerName()) && !config.hideOwn.get()) return
titleEntity.add(entity)
hiddenEntities.add(entity)
@@ -61,7 +61,7 @@ class ChumBucketHider {
// Chum Bucket
if (config.hideBucket.get()) {
- if (entity.inventory.any { it != null && it.name == "§fEmpty Chum Bucket" }) {
+ if (entity.inventory.any { it != null && (it.name == "§fEmpty Chum Bucket" || it.name == "§aEmpty Chumcap Bucket")}) {
val entityLocation = entity.getLorenzVec()
for (title in titleEntity) {
if (entityLocation.equalsIgnoreY(title.getLorenzVec())) {