Fix static access issues.

This commit is contained in:
gmcferrin
2013-01-01 16:04:53 -05:00
parent 15cdf3bfd6
commit aeaad41c45
4 changed files with 8 additions and 8 deletions

View File

@ -399,8 +399,8 @@ public class Combat {
baseXP = 20 * configInstance.getPlayerVersusPlayerXP();
}
}
else if (!mcMMO.p.placeStore.isSpawnedMob(((Entity) target))) {
if (target instanceof Animals && !mcMMO.p.placeStore.isSpawnedPet((Entity) target)) {
else if (!mcMMO.placeStore.isSpawnedMob(((Entity) target))) {
if (target instanceof Animals && !mcMMO.placeStore.isSpawnedPet((Entity) target)) {
baseXP = configInstance.getAnimalsXP();
}
else {