DonkeyAlert: Updates

This commit is contained in:
noil 2020-12-26 17:48:59 -05:00
parent 5ecba2b64c
commit 39398cf82d
1 changed files with 4 additions and 4 deletions

View File

@ -47,13 +47,13 @@ public final class DonkeyAlertModule extends Module {
String distance = "";
if (this.donkey.getValue() && entity instanceof EntityDonkey) {
alertText += ChatFormatting.YELLOW + "Donkey found!";
alertText += ChatFormatting.YELLOW + "Donkey found";
} else if (this.lama.getValue() && entity instanceof EntityLlama) {
alertText += ChatFormatting.YELLOW + "Llama found!";
alertText += ChatFormatting.YELLOW + "Llama found";
} else if (this.horse.getValue() && (entity instanceof EntityHorse || entity instanceof EntitySkeletonHorse)) {
alertText += ChatFormatting.YELLOW + "Horse found!";
alertText += ChatFormatting.YELLOW + "Horse found";
} else if (this.mule.getValue() && entity instanceof EntityMule) {
alertText += ChatFormatting.YELLOW + "Mule found!";
alertText += ChatFormatting.YELLOW + "Mule found";
}
if (!alertText.equals("")) {