Update spawner blockstates (#1536)

Fixes #1525.
This commit is contained in:
Josh 2017-09-14 02:36:39 -04:00 committed by md678685
parent 430f08b25f
commit b34697040a
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ public class EssentialsBlockListener implements Listener {
if (type != null && Mob.fromBukkitType(type) != null) {
if (ess.getUser(event.getPlayer()).isAuthorized("essentials.spawnerconvert." + Mob.fromBukkitType(type).name().toLowerCase(Locale.ENGLISH))) {
spawner.setSpawnedType(type);
spawner.update();
}
}
}