summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp7
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[]