|
@@ -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();
|