Changing a spawner should update its BlockState.

This commit is contained in:
Sahir 2013-06-25 17:07:43 +04:00
parent 9300529113
commit f26466831a

View File

@ -66,6 +66,7 @@ public class Commandspawner extends EssentialsCommand
CreatureSpawner spawner = (CreatureSpawner)target.getBlock().getState();
spawner.setSpawnedType(mob.getType());
spawner.setDelay(delay);
spawner.update();
}
catch (Throwable ex)
{