mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fixed bug in SetDimension method of World class, where it would crash if joining a paper server. Added error handling.
This commit is contained in:
parent
27e66433cd
commit
d0c9695a79
2 changed files with 29 additions and 6 deletions
|
|
@ -660,7 +660,8 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
{
|
||||
case >= MC_1_16_2_Version and <= MC_1_18_2_Version:
|
||||
World.StoreOneDimension(dimensionName, dimensionType!);
|
||||
World.SetDimension(dimensionName);
|
||||
// World.SetDimension(dimensionName);
|
||||
World.SetDimension(dimensionName);
|
||||
break;
|
||||
default:
|
||||
World.SetDimension(dimensionTypeName!);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue