aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
diff options
context:
space:
mode:
authorDoKM <54663875+DoKM@users.noreply.github.com>2021-07-21 14:41:28 +0200
committerGitHub <noreply@github.com>2021-07-21 14:41:28 +0200
commitbc01eae6b7792368972a10001321bf2a8f05ace0 (patch)
tree5b1f60ec7909f0a2916659cebd52981d0e770f30 /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
parent0733ad47820c7fe7f2f3b4780daad0fe50868d56 (diff)
parent87058a95f50768ccbd1b1fed0a8f0600bf81304e (diff)
downloadnotenoughupdates-bc01eae6b7792368972a10001321bf2a8f05ace0.tar.gz
notenoughupdates-bc01eae6b7792368972a10001321bf2a8f05ace0.tar.bz2
notenoughupdates-bc01eae6b7792368972a10001321bf2a8f05ace0.zip
Merge pull request #5 from nopothegamer/master
did a lil fixing
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
index 62a3a5d1..7769c274 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
@@ -752,7 +752,7 @@ public class PetInfoOverlay extends TextOverlay {
break;
}
}
- if(!foundDespawn && config.selectedPet == petIndex) {
+ if(foundDespawn && config.selectedPet == petIndex) {
clearPet();
}
}