start reformating strings into RawMessages

This commit is contained in:
ForestOfLight
2025-10-01 00:08:48 -07:00
Unverified
parent 99972285a2
commit 7fcda7bb04
13 changed files with 79 additions and 32 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export async function forceShow(player, form, timeout = Infinity) {
while ((system.currentTick - startTick) < timeout) {
const response = await form.show(player);
if (startTick + 1 === system.currentTick && response.cancelationReason === FormCancelationReason.UserBusy)
player.sendMessage("§8Close your chat window to access the menu.");
player.sendMessage({ translate: 'construct.menu.open.closeChat' });
if (response.cancelationReason !== FormCancelationReason.UserBusy)
return response;
}