diff --git a/src/main/java/org/bukkit/craftbukkit/block/data/type/CraftRedstoneWire.java b/src/main/java/org/bukkit/craftbukkit/block/data/type/CraftRedstoneWire.java index 34923dad6d..c5ec1c55dd 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/data/type/CraftRedstoneWire.java +++ b/src/main/java/org/bukkit/craftbukkit/block/data/type/CraftRedstoneWire.java @@ -31,12 +31,16 @@ public abstract class CraftRedstoneWire extends CraftBlockData implements Redsto switch (face) { case NORTH: set(NORTH, connection); + break; case EAST: set(EAST, connection); + break; case SOUTH: set(SOUTH, connection); + break; case WEST: set(WEST, connection); + break; default: throw new IllegalArgumentException("Cannot have face " + face); } diff --git a/src/main/java/org/bukkit/craftbukkit/block/impl/CraftRedstoneWire.java b/src/main/java/org/bukkit/craftbukkit/block/impl/CraftRedstoneWire.java index f5b0e84d58..45f66eb408 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/impl/CraftRedstoneWire.java +++ b/src/main/java/org/bukkit/craftbukkit/block/impl/CraftRedstoneWire.java @@ -41,12 +41,16 @@ public final class CraftRedstoneWire extends org.bukkit.craftbukkit.block.data.C switch (face) { case NORTH: set(NORTH, connection); + break; case EAST: set(EAST, connection); + break; case SOUTH: set(SOUTH, connection); + break; case WEST: set(WEST, connection); + break; default: throw new IllegalArgumentException("Cannot have face " + face); }