diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/skilltree/display/PathType.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/skilltree/display/PathType.java index 1769fb20..10b4f67e 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/skilltree/display/PathType.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/skilltree/display/PathType.java @@ -18,7 +18,7 @@ public enum PathType { DEFAULT; public static PathType getPathType(boolean hasUp,boolean hasRight,boolean hasDown,boolean hasLeft) { - if ((hasUp || hasDown) && !hasLeft && hasRight) { + if ((hasUp || hasDown) && !hasLeft && !hasRight) { return UP; } else if ((hasRight || hasLeft)&& !hasUp && !hasDown) { return RIGHT;