Skip to content

Commit

Permalink
fixing text and adding 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
anviaan committed Oct 6, 2024
1 parent 102560a commit ea02dff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var record = context.getSource().getPlayer().getComponent(ModComponents.RECORD_D
record.setRecordDay(days);
}

context.getSource().sendFeedback(() -> Text.translatable("set_day_with_target").append(" ").append(target.getName()).append(" ").append("were_set_to").append(" ").append(String.valueOf(value)), true);
context.getSource().sendFeedback(() -> Text.translatable("set_day_with_target").append(" ").append(target.getName()).append(" ").append(Text.translatable("were_set_to")).append(" ").append(String.valueOf(value)), true);

return 1;
}
Expand All @@ -83,7 +83,7 @@ private static int setRecordDayWithTarget(CommandContext<ServerCommandSource> co
var record = target.getComponent(ModComponents.RECORD_DAY);
record.setRecordDay(value);

context.getSource().sendFeedback(() -> Text.translatable("set_record_day_with_target").append(" ").append(target.getName()).append(" ").append("were_set_to").append(" ").append(String.valueOf(value)), true);
context.getSource().sendFeedback(() -> Text.translatable("set_record_day_with_target").append(" ").append(target.getName()).append(" ").append(Text.translatable("were_set_to")).append(" ").append(String.valueOf(value)), true);

return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"depends": {
"fabricloader": ">=0.15.11",
"minecraft": "~1.20.6",
"minecraft": ">=1.20.5",
"java": ">=21",
"fabric-api": "*"
},
Expand Down

0 comments on commit ea02dff

Please sign in to comment.