Core/Network: Simplify worldserver port configuration: removed InstanceServerPort

Port From (https://github.com/TrinityCore/TrinityCore/commit/039acb20e4c218757d6b9fc441dc2da6820dafd1)
This commit is contained in:
Hondacrx
2025-06-02 15:48:10 -04:00
parent 34edc91ec5
commit de0c4f2fe5
6 changed files with 3 additions and 29 deletions
+1 -1
View File
@@ -492,7 +492,7 @@ namespace Game
ConnectTo connectTo = new();
connectTo.Key = _instanceConnectKey.Raw;
connectTo.Serial = serial;
connectTo.Payload.Port = (ushort)WorldConfig.GetIntValue(WorldCfg.PortInstance);
connectTo.Payload.Port = (ushort)WorldConfig.GetIntValue(WorldCfg.PortWorld);
connectTo.Con = (byte)ConnectionType.Instance;
if (instanceAddress != null)