Skip to content

Commit

Permalink
update api-version to 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
steve4744 committed Apr 12, 2024
1 parent b3fda0b commit 987772d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/tntrun/arena/structure/StructureManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ public void loadFromConfig() {
linkedRandom = config.getBoolean("kits.randomLinkedKit", true);
punchDamage = config.getBoolean("punchDamage", true);
testmode = config.getBoolean("testmode");
//TODO exludeStats is redundant since 9.20, superseded by statsEnabled. Only here for upgrading from pre-9.20.
excludeStats = config.getBoolean("excludeStats");
statsEnabled = excludeStats ? false : config.getBoolean("stats.enabled", true);
statsMinPlayers = config.getInt("stats.minPlayers", statsMinPlayers);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: TNTRun_reloaded
main: tntrun.TNTRun
softdepend: [WorldEdit, Vault, HeadsPlus, mcMMO, PlaceholderAPI, Parties]
version: ${project.version}
api-version: 1.17
api-version: 1.20
author: [steve4744]
commands:
tntrunsetup:
Expand Down

0 comments on commit 987772d

Please sign in to comment.