mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Improvements to the Bed, Blockinfo and Enchant commands.
This commit is contained in:
parent
735dc49d92
commit
a31b4a792b
7 changed files with 95 additions and 8 deletions
|
|
@ -29,6 +29,9 @@ namespace MinecraftClient.Commands
|
|||
|
||||
if (subcommand.Equals("sleep") || subcommand.Equals("s"))
|
||||
{
|
||||
if (!handler.GetTerrainEnabled())
|
||||
return Translations.TryGet("error.terrain_not_enabled");
|
||||
|
||||
if (args.Length == 2)
|
||||
{
|
||||
if (!int.TryParse(args[1], NumberStyles.Any, CultureInfo.CurrentCulture, out int radius))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue