Fix invalid data in pistons
Dieser Commit ist enthalten in:
Ursprung
b416dd337f
Commit
989acd0afb
@ -218,6 +218,7 @@ public class BlockPiston extends Block {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static int d(int i) {
|
public static int d(int i) {
|
||||||
|
if ((i & 7) >= Facing.a.length) return 0; // CraftBukkit - check for AIOOB on piston data
|
||||||
return i & 7;
|
return i & 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren