b.setY(b.getY() + 1);
boolean spawnSuccess = true;
for (int i = 0; i < amount; ++i) {
try {
Entity e = Canary.factory().getEntityFactory().newEntity(EntityType.valueOf(args[1].toUpperCase()), b.getLocation());
spawnSuccess &= e.spawn();
}
catch (IllegalArgumentException e) {
player.notice(Translator.translate("mobspawn failed"));
}
}