mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix bug in "/entity near"
This commit is contained in:
parent
046f5ddbc6
commit
759eb888a6
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ namespace MinecraftClient.Commands
|
|||
else
|
||||
return Translations.cmd_entityCmd_not_found;
|
||||
}
|
||||
else if (int.TryParse(args[0], NumberStyles.Any, CultureInfo.CurrentCulture, out int entityID2))
|
||||
else if (int.TryParse(args[1], NumberStyles.Any, CultureInfo.CurrentCulture, out int entityID2))
|
||||
{
|
||||
if (handler.GetEntities().TryGetValue(entityID2, out Entity? entity))
|
||||
return InteractionWithEntity(handler, entity, args.Length > 1 ? args[1].ToLower() : "list");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue