mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-22 15:32:22 +01:00
Changing a spawner should update its BlockState.
This commit is contained in:
parent
5ee0fe301e
commit
d6f2ea3fc5
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user