Skip to content

Commit

Permalink
Ready for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlaubb committed Aug 11, 2024
1 parent a314eac commit 80818b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ac_BP/src/Functions/chatModel/Commands/moderations/invof.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { registerCommand, isPlayer, verifier } from "../../CommandHandler";
import { c } from "../../../../Assets/Util";
import { c, rawstr } from "../../../../Assets/Util";
import { projectPlayerInventory } from "../../../moderateModel/invPicker";

registerCommand({
Expand All @@ -12,6 +12,7 @@ registerCommand({
require: (player) => verifier(player, c().commands.invof),
executor: async (player, args) => {
const target = isPlayer(args[0]);
player.sendMessage(new rawstr(true, "g").tra("invof.open").parse());
// Open the inventory for the player
projectPlayerInventory(target, player);
},
Expand Down
4 changes: 4 additions & 0 deletions ac_RP/texts/pot/en_US.pot
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,10 @@ msgstr ""
msgid "Sucessfully recover the data of config from config database"
msgstr ""

#: invof.open
msgid "Close the chat and open the inventory to manage the inventory of the selected player."
msgstr ""

#: item.matrix.itemui
msgid "§r§l§bMatrix §eUI pannel§r"
msgstr ""
Expand Down

0 comments on commit 80818b8

Please sign in to comment.