Skip to content

Commit c3bb744

Browse files
committed
Update to 1.21.5
1 parent 0bede2e commit c3bb744

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

cardinal-components-base/src/main/java/org/ladysnake/cca/internal/base/AbstractComponentContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void fromTag(NbtCompound tag, RegistryWrapper.WrapperLookup registryLooku
7575
if(list.isPresent()) {
7676
NbtList componentList = list.get();
7777
for (int i = 0; i < componentList.size(); i++) {
78-
NbtCompound nbt = componentList.getOrCreateCompound(i);
78+
NbtCompound nbt = componentList.getCompoundOrEmpty(i);
7979
Optional<ComponentKey<?>> type = nbt.getString("componentId").map(Identifier::tryParse).map(ComponentRegistry::get);
8080
if (type.isPresent()) {
8181
Component component = type.get().getInternal(this);

cardinal-components-level/src/testmod/java/org/ladysnake/cca/test/level/CcaLevelTestSuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public void levelComponentsTick(TestContext ctx) {
3333
int baseTicks = ctx.getWorld().getLevelProperties().getComponent(TickingTestComponent.KEY).serverTicks();
3434
ctx.waitAndRun(5, () -> {
3535
int ticks = ctx.getWorld().getLevelProperties().getComponent(TickingTestComponent.KEY).serverTicks();
36-
ctx.assertEquals(baseTicks - ticks, 5, Text.literal("Component should tick 5 times -"));
36+
ctx.assertEquals(5, ticks - baseTicks, Text.literal("Component should tick 5 times -"));
3737
ctx.complete();
3838
});
3939
}

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
------------------------------------------------------
2+
Version 6.3.0
3+
------------------------------------------------------
4+
Updated to 1.25
5+
16
------------------------------------------------------
27
Version 6.3.0-alpha.1+25w09b
38
------------------------------------------------------

gradle.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ org.gradle.parallel=true
44
fabric.loom.multiProjectOptimisation=true
55

66
#see https://fabricmc.net/develop/
7-
minecraft_version=25w09b
8-
yarn_mappings=2
7+
minecraft_version=1.21.5
8+
yarn_mappings=1
99
loader_version=0.16.10
1010
#Fabric api
11-
fabric_api_version=0.118.2+1.21.5
11+
fabric_api_version=0.119.5+1.21.5
1212

1313
elmendorf_version=0.15.0
1414

1515
immersive_portals_version=v6.0.3-mc1.21.1
1616

1717
#Publishing
18-
mod_version = 6.3.0-alpha.1+25w09b
18+
mod_version = 6.3.0
1919
curseforge_id = 318449
2020
modrinth_id = K01OU20C
21-
curseforge_versions = 1.21.5-Snapshot
22-
modrinth_versions = 25w09b
23-
release_type = alpha
21+
curseforge_versions = 1.21.5
22+
modrinth_versions = 1.21.5
23+
release_type = release
2424
display_name = Cardinal-Components-API
2525
owners = Ladysnake
2626

0 commit comments

Comments
 (0)