aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
diff options
context:
space:
mode:
authornopothegamer <40329022+nopothegamer@users.noreply.github.com>2021-07-21 22:04:01 +1000
committernopothegamer <40329022+nopothegamer@users.noreply.github.com>2021-07-21 22:04:01 +1000
commit895687feb52b709cf683a3e7460d3d32c460ec66 (patch)
tree2ee5983c4b1b971e0659f4cc71a5e1ba3b9a741b /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
parentaf9c1ad9e788079edf989c4d03edd88332c0371a (diff)
downloadnotenoughupdates-895687feb52b709cf683a3e7460d3d32c460ec66.tar.gz
notenoughupdates-895687feb52b709cf683a3e7460d3d32c460ec66.tar.bz2
notenoughupdates-895687feb52b709cf683a3e7460d3d32c460ec66.zip
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();
}
}