update to 1.21.80

This commit is contained in:
ForestOfLight
2025-06-04 17:42:56 -07:00
Unverified
parent 36ad9c7de1
commit 6ad128cc9c
7 changed files with 19 additions and 8 deletions
@@ -91,6 +91,10 @@ export class MenuForm {
const structureId = response.formValues[0];
if (structureId === '')
return void 0;
if (!structureCollection.getWorldStructureIds().includes(structureId)) {
this.player.sendMessage(`§cStructure ID '${structureId}' not found. If you're looking for a structure that you put in the structures folder, please restart your world and try again.`);
return void 0;
}
return structureId;
});
}