Skip to content
This repository was archived by the owner on Sep 28, 2025. It is now read-only.

Commit c824a70

Browse files
committed
fix: remove unused function
1 parent 66c607c commit c824a70

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

client/src/commands/fill-id-by-name.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -781,10 +781,6 @@ export const LocalizationIDs: { [key: string]: string } = {
781781
zombie_villager_spawn_egg: "item.spawn_egg.entity.zombie_villager_v2.name",
782782
};
783783

784-
function getLocalizationID(key: string): string | undefined {
785-
return LocalizationIDs[key];
786-
}
787-
788784
function getIdByLocalizationID(key: string): string | undefined {
789785
const id = Object.keys(LocalizationIDs).find((k) => LocalizationIDs[k] === key);
790786
return 'minecraft:' + (id ? id : key.replace('tile.', '').replace('item.', '').replace('.name', '').trim());

0 commit comments

Comments
 (0)