Skip to content

Commit

Permalink
actions: Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Owain94 committed Jan 9, 2020
1 parent 9b9a883 commit c0db315
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
- uses: actions/checkout@v1
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Update Gradle Wrapper
run: ./gradlew wrapper --gradle-version $(curl -s https://api.github.com/repos/gradle/gradle/releases/latest | grep -Po '"name":.*?[^\\]",' | sed -r 's/[\"name:, ]+//g') --distribution-type all --console=plain
- name: Create Gradle wrapper update Pull Request
Expand Down
2 changes: 1 addition & 1 deletion runelite-client/src/main/resources/npc_stats.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public static void dump(final Store store, final MediaWiki wiki, final File path
}

final Set<Integer> ids = Arrays.stream(wikiIdString.split(","))
.map(s -> Integer.parseInt(s.trim()))
.map(s -> Integer.parseInt(s.replaceAll("[^0-9]", "").trim()))
.collect(Collectors.toSet());

final NpcStats stats = buildNpcStats(base, variantKey);
Expand Down

0 comments on commit c0db315

Please sign in to comment.