Allows eggs support with Slimes, Wolves and Monsters

This commit is contained in:
Dinnerbone 2011-04-05 17:19:24 +01:00
parent 8f461f5bbb
commit 8385b1436e

View file

@ -242,6 +242,15 @@ public class EntityEgg extends Entity {
case SQUID:
entity = new EntitySquid(this.world);
break;
case SLIME:
entity = new EntitySlime(this.world);
break;
case WOLF:
entity = new EntityWolf(this.world);
break;
case MONSTER:
entity = new EntityMonster(this.world);
break;
default:
entity = new EntityChicken(this.world);
break;