1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +02:00

Merge pull request #502 from afistofirony/patch-1

Changing a spawner should update its BlockState.
This commit is contained in:
KHobbits
2013-06-25 07:58:46 -07:00

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)
{