diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-06-25 07:58:46 -0700 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-06-25 07:58:46 -0700 |
commit | 8f1f68f2bed69c69397e5ebdd5a7769f19eff6cd (patch) | |
tree | 6c59eb5ce150a5764093152913e936ef6140ba45 | |
parent | 9300529113bb7a468770fd1b15cb50696e58bc3b (diff) | |
parent | f26466831a813e865ccf51b7fbd699d4b7fe51a0 (diff) | |
download | Essentials-8f1f68f2bed69c69397e5ebdd5a7769f19eff6cd.tar Essentials-8f1f68f2bed69c69397e5ebdd5a7769f19eff6cd.tar.gz Essentials-8f1f68f2bed69c69397e5ebdd5a7769f19eff6cd.tar.lz Essentials-8f1f68f2bed69c69397e5ebdd5a7769f19eff6cd.tar.xz Essentials-8f1f68f2bed69c69397e5ebdd5a7769f19eff6cd.zip |
Merge pull request #502 from afistofirony/patch-1
Changing a spawner should update its BlockState.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandspawner.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java b/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java index a0fb1d9b0..d4f23fd27 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java @@ -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) { |