mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Entity config files aren't working properly yet - temporary solution is
to use a 1.0 base for any entity with an UNKNOWN type.
This commit is contained in:
parent
bcdd235b9f
commit
a13d28a6ec
@ -551,6 +551,11 @@ public final class CombatTools {
|
|||||||
baseXP = configInstance.getZombieXP();
|
baseXP = configInstance.getZombieXP();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Temporary workaround for custom entities
|
||||||
|
case UNKNOWN:
|
||||||
|
baseXP = 1.0;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (ModChecks.isCustomEntity(target)) {
|
if (ModChecks.isCustomEntity(target)) {
|
||||||
baseXP = ModChecks.getCustomEntity(target).getXpMultiplier();
|
baseXP = ModChecks.getCustomEntity(target).getXpMultiplier();
|
||||||
|
Loading…
Reference in New Issue
Block a user