Skip to content

Commit

Permalink
Update charter to use actions and modelID
Browse files Browse the repository at this point in the history
  • Loading branch information
FALSkills committed Sep 27, 2024
1 parent ec49fb7 commit 4952f3e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/dax/walker_engine/navigation_utils/Charter.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ private static HashMap<LocationProperty, Location> getCharterLocations(){
InterfaceHelper.getAllInterfaces(CHARTER_INTERFACE_MASTER).stream().filter(

rsInterface -> rsInterface != null
&& rsInterface.getFontID() == 495
&& !rsInterface.isHidden()
&& rsInterface.isTextShadowed())
&& rsInterface.getModelID() == 17360
&& !rsInterface.isHidden())

.collect(Collectors.toList())
.forEach(rsInterface -> locations.put(
LocationProperty.stringToLocation(rsInterface.getText()), new Location(rsInterface)));
LocationProperty.stringToLocation(rsInterface.getActions()[0]), new Location(rsInterface)));
return locations;
}

Expand Down

0 comments on commit 4952f3e

Please sign in to comment.