Skip to content

Commit cc48be1

Browse files
committed
2.0.9 - Fixed mislabelled translation key
1 parent cbaeaf9 commit cc48be1

File tree

4 files changed

+70
-4
lines changed

4 files changed

+70
-4
lines changed

.profileconfig.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"jfrConfig": {
3+
"settings": "profile"
4+
},
5+
"asyncProfilerConfig": {
6+
"jfrsync": true,
7+
"alloc": true,
8+
"event": "wall",
9+
"misc": ""
10+
},
11+
"file": "$PROJECT_DIR/profile.jfr",
12+
"conversionConfig": {
13+
"nonProjectPackagePrefixes": [
14+
"java.",
15+
"javax.",
16+
"kotlin.",
17+
"jdk.",
18+
"com.google.",
19+
"org.apache.",
20+
"org.spring.",
21+
"sun.",
22+
"scala."
23+
],
24+
"enableMarkers": true,
25+
"initialVisibleThreads": 10,
26+
"initialSelectedThreads": 10,
27+
"includeGCThreads": false,
28+
"includeInitialSystemProperty": false,
29+
"includeInitialEnvironmentVariables": false,
30+
"includeSystemProcesses": false,
31+
"ignoredEvents": [
32+
"jdk.ActiveSetting",
33+
"jdk.ActiveRecording",
34+
"jdk.BooleanFlag",
35+
"jdk.IntFlag",
36+
"jdk.DoubleFlag",
37+
"jdk.LongFlag",
38+
"jdk.NativeLibrary",
39+
"jdk.StringFlag",
40+
"jdk.UnsignedIntFlag",
41+
"jdk.UnsignedLongFlag",
42+
"jdk.InitialSystemProperty",
43+
"jdk.InitialEnvironmentVariable",
44+
"jdk.SystemProcess",
45+
"jdk.ModuleExport",
46+
"jdk.ModuleRequire"
47+
],
48+
"minRequiredItemsPerThread": 3
49+
},
50+
"additionalGradleTargets": [
51+
{
52+
"targetPrefix": "quarkus",
53+
"optionForVmArgs": "-Djvm.args",
54+
"description": "Example quarkus config, adding profiling arguments via -Djvm.args option to the Gradle task run"
55+
}
56+
],
57+
"additionalMavenTargets": [
58+
{
59+
"targetPrefix": "quarkus:",
60+
"optionForVmArgs": "-Djvm.args",
61+
"description": "Example quarkus config, adding profiling arguments via -Djvm.args option to the Maven goal run"
62+
}
63+
]
64+
}

changelog.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,6 @@
5757
- Added 'Pattern Schematic and Quill' item
5858
1.21.1-2.0.8: |
5959
- Updated Ru_Ru translation for 1.21.1
60+
1.21.1-2.0.9: |
61+
- Fixed mislabelled translation key
6062
...

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mod_name=Create: Pattern Schematics
3434
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
3535
mod_license=All Rights Reserved
3636
# The mod version. See https://semver.org/
37-
mod_version=2.0.8
37+
mod_version=2.0.9
3838
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
3939
# This should match the base package used for the mod sources.
4040
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

src/main/java/com/cak/pattern_schematics/forge/mixin/temp_platform/AbstractContraptionEntityMixin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void handlePlayerInteraction(
5252

5353
if (!stack.getOrDefault(AllDataComponents.SCHEMATIC_DEPLOYED, false)) {
5454
player.displayClientMessage(
55-
Component.translatable("pattern_schematics.contraption_application.not_positioned")
55+
Component.translatable("create_pattern_schematics.contraption_application.not_positioned")
5656
.withStyle(ChatFormatting.RED),
5757
true
5858
);
@@ -68,9 +68,9 @@ public void handlePlayerInteraction(
6868
int appliedCount = pattern_schematics$performBulkSchematicApply(actor.getLeft().state().getValue(DeployerBlock.FACING), actor.getRight().localPos, stack, player.level());
6969

7070
player.displayClientMessage(
71-
Component.translatable("pattern_schematics.contraption_application.applied_to")
71+
Component.translatable("create_pattern_schematics.contraption_application.applied_to")
7272
.append(Component.literal(String.valueOf(appliedCount)))
73-
.append(Component.translatable("pattern_schematics.contraption_application.deployers")),
73+
.append(Component.translatable("create_pattern_schematics.contraption_application.deployers")),
7474
true
7575
);
7676

0 commit comments

Comments
 (0)