geforkt von Mirrors/FastAsyncWorldEdit
Dieser Commit ist enthalten in:
Ursprung
fecb380d44
Commit
3b2031c22c
@ -69,7 +69,7 @@ public enum Direction {
|
|||||||
private final int right;
|
private final int right;
|
||||||
private final BlockVector3 blockPoint;
|
private final BlockVector3 blockPoint;
|
||||||
|
|
||||||
private static HashMap<String, Direction> map = new HashMap<>();
|
private static HashMap<CharSequence, Direction> map = new HashMap<>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
for (Direction dir : Direction.values()) {
|
for (Direction dir : Direction.values()) {
|
||||||
@ -87,7 +87,7 @@ public enum Direction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Direction get(CharSequence sequence) {
|
public static Direction get(CharSequence sequence) {
|
||||||
return map.get(sequence.toString());
|
return map.get(sequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Direction getLeft() {
|
public Direction getLeft() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren