mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
This commit is contained in:
parent
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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user