Updated to use CreatureType and CreatureSpawner

Nothing will break as a result of the refactoring of MobType due to
deprecated code being left in. These will be removed after 1 week,
enough time for plugin devs time to migrate.
This commit is contained in:
Andrew Ardill
2011-02-17 14:47:33 +11:00
parent 5f940cf764
commit 0703f4f458
3 changed files with 48 additions and 12 deletions

View File

@@ -278,7 +278,7 @@ public class CraftBlock implements Block {
case DISPENSER:
return new CraftDispenser(this);
case MOB_SPAWNER:
return new CraftMobSpawner(this);
return new CraftCreatureSpawner(this);
case NOTE_BLOCK:
return new CraftNoteBlock(this);
default: