chore(cli): drop unused imports and orphan lang key
- Remove unused `world` import from ListCommand.js and PlaceCommand.js (plan code blocks included it but neither command uses it). - Delete orphaned `construct.commands.construct.denyorigin` lang key from en_US and zh_CN — its sole consumer was the original commands/construct.js, which was replaced by ConstructCommand using the shared `construct.commands.error.notAPlayer` key. - Carry the previously-orphaned Chinese translation forward to the notAPlayer key in zh_CN.lang. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { CustomCommandStatus, system, world } from '@minecraft/server';
|
||||
import { CustomCommandStatus, system } from '@minecraft/server';
|
||||
import { Command } from '../classes/Commands/Command';
|
||||
import { structureCollection } from '../classes/Structure/StructureCollection';
|
||||
import { commandError } from '../classes/Commands/lib/commandError';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CustomCommandParamType, CustomCommandStatus, system, world } from '@minecraft/server';
|
||||
import { CustomCommandParamType, CustomCommandStatus, system } from '@minecraft/server';
|
||||
import { Command } from '../classes/Commands/Command';
|
||||
import { findInstance } from '../classes/Commands/lib/findInstance';
|
||||
import { commandError } from '../classes/Commands/lib/commandError';
|
||||
|
||||
Reference in New Issue
Block a user