summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java b/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java
index 9c0345bb6..f91537431 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java
@@ -15,6 +15,7 @@ import org.bukkit.DyeColor;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.craftbukkit.CraftWorld;
+import org.bukkit.craftbukkit.entity.CraftCreeper;
import org.bukkit.craftbukkit.entity.CraftSheep;
import org.bukkit.craftbukkit.entity.CraftSlime;
import org.bukkit.craftbukkit.entity.CraftWolf;
@@ -226,5 +227,8 @@ public class Commandspawnmob extends EssentialsCommand
if ("Wolf".equalsIgnoreCase(type) && data.equalsIgnoreCase("angry")) {
((CraftWolf)spawned).setAngry(true);
}
+ if ("Creeper".equalsIgnoreCase(type) && data.equalsIgnoreCase("powered")) {
+ ((CraftCreeper)spawned).setPowered(true);
+ }
}
}