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:
GJ 2013-02-06 15:33:24 -05:00
parent bcdd235b9f
commit a13d28a6ec

View File

@ -551,6 +551,11 @@ public final class CombatTools {
baseXP = configInstance.getZombieXP();
break;
// Temporary workaround for custom entities
case UNKNOWN:
baseXP = 1.0;
break;
default:
if (ModChecks.isCustomEntity(target)) {
baseXP = ModChecks.getCustomEntity(target).getXpMultiplier();