1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-03-31 16:56:25 +02:00

Treat nether portal spawned mobs as spawner mobs. Fixes

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

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