[DiscordArchive] Adding in World.cpp
[DiscordArchive] Adding in World.cpp
Archived author: LaHonder • Posted: 2023-05-02T18:29:45.544000+00:00
Original source
Adding in World.cpp
```cpp
m_int_configs[CONFIG_REALMID] = sConfigMgr->GetIntDefault("RealmID", 0);
```
Adding in World.h
```cpp
...
CONFIG_REALMID,
...
```
Should make
```cpp
uint8 realmID = sWorld->getIntConfig(CONFIG_REALMID);
if (realmID == 1)
{
player->TeleportTo(1, -8049.123535, -5326.259277, 8.175015, 5.405014);
}
```
Working correct?