diff options
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp index 10cfc2047..ee521f254 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -3561,6 +3561,13 @@ void cWorld::AddQueuedPlayers(void) Client->SendPlayerMoveLook(); Client->SendHealth(); Client->SendWholeInventory(*Player->GetWindow()); + + // Send resource pack + auto ResourcePackUrl = cRoot::Get()->GetServer()->GetResourcePackUrl(); + if (!ResourcePackUrl.empty()) + { + Client->SendResourcePack(ResourcePackUrl); + } } } // for itr - PlayersToAdd[] |