3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00
Dieser Commit ist enthalten in:
Jesse Boyd 2019-06-28 22:43:52 +10:00
Ursprung fecb380d44
Commit 3b2031c22c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -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() {