aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/pathfinding
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2021-11-06 17:04:54 +0900
committersyeyoung <cyoung06@naver.com>2021-11-06 17:04:54 +0900
commitc61223d4f4d233e14780547393fd4bb9a0efdd4d (patch)
tree473619d440dd800a6c1dd2b8e9f145059c23ea75 /src/main/java/kr/syeyoung/dungeonsguide/pathfinding
parent06914fae35045a7f14a627ad3d55c8395801e18f (diff)
downloadSkyblock-Dungeons-Guide-c61223d4f4d233e14780547393fd4bb9a0efdd4d.tar.gz
Skyblock-Dungeons-Guide-c61223d4f4d233e14780547393fd4bb9a0efdd4d.tar.bz2
Skyblock-Dungeons-Guide-c61223d4f4d233e14780547393fd4bb9a0efdd4d.zip
- Remove unnecessary cast
- /viewprofilemenu getting detected as /viewprofie
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/pathfinding')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java
index 657f3cb3..8e989855 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java
@@ -57,7 +57,7 @@ public class JPSPathfinder {
private Node openNode(int x, int y, int z)
{
int i = Node.makeHash(x, y, z);
- Node node = (Node)this.nodeMap.lookup(i);
+ Node node = this.nodeMap.lookup(i);
if (node == null)
{