mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Fix bugs in gravity handle
This commit is contained in:
parent
86dfd60d07
commit
357820e1c2
7 changed files with 54 additions and 7 deletions
|
|
@ -76,7 +76,7 @@ namespace MinecraftClient.Commands
|
|||
int z = int.Parse(args[2]);
|
||||
Location goal = new Location(x, y, z);
|
||||
|
||||
if (handler.GetWorld().GetChunkColumn(goal) == null)
|
||||
if (handler.GetWorld().GetChunkColumn(goal) == null || handler.GetWorld().GetChunkColumn(goal).FullyLoaded == false)
|
||||
return Translations.Get("cmd.move.chunk_not_loaded");
|
||||
else if (handler.MoveTo(goal, allowUnsafe: takeRisk))
|
||||
return Translations.Get("cmd.move.walk", goal);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue