Skip to content

Commit

Permalink
fix: error when missing spawner type argument during spawner creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Misat11 committed Dec 6, 2024
1 parent 89cd6d7 commit f3003f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ buildConfig {
}

prepareTestTask()
.versions('1.21.3', '1.21.1', '1.20.6', '1.20.4', '1.20.2', '1.20.1', '1.19.4', '1.19.3', '1.18.2', '1.17.1', '1.16.5', '1.15.2', '1.14.4', '1.13.2', '1.12.2', '1.11.2', '1.10.2', '1.9.4', '1.8.8')
.versions('1.21.4', '1.21.3', '1.21.1', '1.20.6', '1.20.4', '1.20.2', '1.20.1', '1.19.4', '1.19.3', '1.18.2', '1.17.1', '1.16.5', '1.15.2', '1.14.4', '1.13.2', '1.12.2', '1.11.2', '1.10.2', '1.9.4', '1.8.8')
.setSubdirectory("paper-0-2-x-branch")
.jvmArgs('-Dio.papermc.paper.suppress.sout.nags=true', '-DPaper.IgnoreJavaVersion=true') // suppress System.out.println nag
.onlineMode(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public boolean cmd(Player player, String action, String[] args) {
} else {
response = null;
}
} else {
} else if (args.length == 2) {
response = addSpawner(args[1], player.getLocation(), null, true, 1, null, -1);
}
} else if (args[0].equalsIgnoreCase("remove")) {
Expand Down

0 comments on commit f3003f3

Please sign in to comment.