mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 19:54:44 +02:00
nope.avi
Revert "Protect placeStore. It's ugly and still needs work."
This reverts commit 1fe182babe
.
This commit is contained in:
@ -459,8 +459,8 @@ public final class CombatTools {
|
||||
baseXP = 20 * configInstance.getPlayerVersusPlayerXP();
|
||||
}
|
||||
}
|
||||
else if (!mcMMO.p.isSpawned(target)) {
|
||||
if (target instanceof Animals) {
|
||||
else if (!mcMMO.placeStore.isSpawnedMob(target)) {
|
||||
if (target instanceof Animals && !mcMMO.placeStore.isSpawnedPet(target)) {
|
||||
if (ModChecks.isCustomEntity(target)) {
|
||||
baseXP = ModChecks.getCustomEntity(target).getXpMultiplier();
|
||||
}
|
||||
|
Reference in New Issue
Block a user