mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Trim
This commit is contained in:
parent
11fe93a128
commit
6cb0c35ab8
3 changed files with 40 additions and 40 deletions
|
|
@ -116,12 +116,10 @@ namespace MinecraftClient.Mapping
|
|||
/// <param name="nbt">The dimension type (NBT Tag Compound)</param>
|
||||
public static void SetDimension(string name)
|
||||
{
|
||||
if (dimensionList!.TryGetValue(name, out Dimension? dimension))
|
||||
curDimension = dimension;
|
||||
else
|
||||
Console.WriteLine("Can't find dimension \"" + name + "\"");
|
||||
curDimension = dimensionList![name]; // Should not fail
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Get current dimension
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue