changed form reset and fixed systemvoice

This commit is contained in:
Polaris
2024-08-26 20:06:33 -04:00
parent bfe2403076
commit e22708f98a
9 changed files with 19 additions and 79 deletions

View File

@ -33,7 +33,7 @@ export async function updatePlayerMapIcon(mapIconId?: number) {
}
if (mapIconId === undefined) {
throw new Error("nameplateId is required");
throw new Error("map icon is required");
}
try {
@ -51,7 +51,7 @@ export async function updatePlayerMapIcon(mapIconId?: number) {
return updatePlayerMapIconId;
} catch (error) {
console.error("Error updating nameplate:", error);
console.error("Error updating map icon:", error);
throw error;
}
}