mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 19:44:15 +02:00
Changing a spawner should update its BlockState.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user