Treat nether portal spawned mobs as spawner mobs. Fixes #2662

This commit is contained in:
t00thpick1 2015-11-04 15:37:17 -05:00
parent 50e727d591
commit dd01504111

View File

@ -440,6 +440,7 @@ public class EntityListener implements Listener {
LivingEntity entity = event.getEntity();
switch (event.getSpawnReason()) {
case NETHER_PORTAL:
case SPAWNER:
case SPAWNER_EGG:
entity.setMetadata(mcMMO.entityMetadataKey, mcMMO.metadataValue);