mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-21 11:13:00 +01:00
Removed some unnecessary casting.
This commit is contained in:
@@ -398,8 +398,8 @@ public class Combat {
|
||||
baseXP = 20 * configInstance.getPlayerVersusPlayerXP();
|
||||
}
|
||||
}
|
||||
else if (!mcMMO.placeStore.isSpawnedMob(((Entity) target))) {
|
||||
if (target instanceof Animals && !mcMMO.placeStore.isSpawnedPet((Entity) target)) {
|
||||
else if (!mcMMO.placeStore.isSpawnedMob(target)) {
|
||||
if (target instanceof Animals && !mcMMO.placeStore.isSpawnedPet(target)) {
|
||||
baseXP = configInstance.getAnimalsXP();
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user