3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 04:50:05 +01:00

SPIGOT-4132: Fix missing break in RedstoneWire.setFace

Dieser Commit ist enthalten in:
md_5 2018-07-24 12:46:21 +10:00
Ursprung ca75fead2c
Commit 2100017016
2 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -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);
}

Datei anzeigen

@ -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);
}