Skip to content

Commit 7da1126

Browse files
authored
Merge pull request #40 from FTBTeam/1.19/dev
1.19/dev
2 parents 844f323 + e0ada4a commit 7da1126

File tree

8 files changed

+18
-17
lines changed

8 files changed

+18
-17
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ logs
2121
# other
2222
eclipse
2323
run
24-
.vscode
24+
.vscode
25+
**/extra-mods-*/

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
[1902.1.16]
8+
9+
### Fixed
10+
* Correctly report errors and stop when a syntax error in ranks.snbt or players.snbt prevents the file from loading
11+
* Don't tell the player it loaded OK then wipe the current runtime config...
12+
713
[1902.1.15]
814

915
### Added

common/src/main/java/dev/ftb/mods/ftbranks/impl/RankManagerImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ public void reload() throws Exception {
364364
if (tempRanks.isEmpty()) {
365365
FTBRanks.LOGGER.warn("No ranks found!");
366366
}
367+
} else {
368+
throw new RuntimeException("ranks.snbt failed to load! check your server log for errors");
367369
}
368370

369371
SNBTCompoundTag playerFileTag = SNBT.read(playerFile);
@@ -401,6 +403,8 @@ public void reload() throws Exception {
401403

402404
tempPlayerData.put(data.uuid, data);
403405
}
406+
} else {
407+
throw new RuntimeException("players.snbt failed to load! check your server log for errors");
404408
}
405409

406410
ranks = new LinkedHashMap<>(tempRanks);

fabric/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ dependencies {
3434
shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
3535
}
3636

37+
apply from: "https://raw.githubusercontent.com/FTBTeam/mods-meta/main/gradle/extra-local-mods.gradle"
38+
3739
processResources {
3840
inputs.property "version", project.version
3941

fabric/src/main/resources/fabric.mod.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"ftblibrary": ">=1902.3.16-build.191"
2525
},
2626
"mixins": [
27-
"ftbranks-common.mixins.json",
28-
"ftbranks-fabric.mixins.json"
27+
"ftbranks-common.mixins.json"
2928
]
3029
}

fabric/src/main/resources/ftbranks-fabric.mixins.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

forge/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ dependencies {
3434
shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive false }
3535
}
3636

37+
apply from: "https://raw.githubusercontent.com/FTBTeam/mods-meta/main/gradle/extra-local-mods.gradle"
38+
3739
processResources {
3840
exclude '.cache'
3941

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.gradle.daemon=false
33
mod_id=ftbranks
44
archives_base_name=ftb-ranks
55
maven_group=dev.ftb.mods
6-
mod_version=1902.1.15
6+
mod_version=1902.1.16
77
mod_author=FTB Team
88

99
minecraft_version=1.19.2

0 commit comments

Comments
 (0)