Skip to content

Commit

Permalink
Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
A5H73Y committed Dec 4, 2022
1 parent fd79841 commit 926035f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@
<artifactId>snakeyaml</artifactId>
<version>1.33</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10</version>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ public void runEventCommands(final Player player,
}

public void runEventCommands(final Player player,
final ParkourSession session,
final String eventTypeKey) {
final ParkourSession session,
final String eventTypeKey) {
CourseConfig courseConfig = parkour.getConfigManager().getCourseConfig(session.getCourseName());

List<String> eventCommands = new ArrayList<>(courseConfig.getEventCommands(eventTypeKey));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ private void populateSetPlayerActions() {
}

@Override
public void processCommand(CommandSender commandSender, String... args) {
public void processCommand(@NotNull CommandSender commandSender, String... args) {
processCommand(commandSender, Bukkit.getOfflinePlayer(args[1]), args[0], args[2]);
}

Expand Down

0 comments on commit 926035f

Please sign in to comment.