From 4ae695a1763b6e7d50af5adbe2ca6e674231e813 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Thu, 21 Apr 2011 18:55:20 +0100 Subject: [PATCH] Fixed the fix of Creeper.setPowered --- src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java index b248ad23fd..2844723f08 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java @@ -21,9 +21,9 @@ public class CraftCreeper extends CraftMonster implements Creeper { public void setPowered(boolean powered) { if (powered) { - getHandle().W().b(17, 1); + getHandle().W().b(17, (byte)1); } else { - getHandle().W().b(17, 0); + getHandle().W().b(17, (byte)0); } }