mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Return client resources even if no data pack found on server. Closes #6225 (Pull request)
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
1 file changed
+8
-1
@@ -117,7 +117,14 @@ public class ModFileResourcePack extends ResourcePack
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
return Collections.emptySet();
|
||||
if (type == ResourcePackType.SERVER_DATA) //We still have to add the resource namespace if client resources exist, as we load langs (which are in assets) on server
|
||||
{
|
||||
return this.getResourceNamespaces(ResourcePackType.CLIENT_RESOURCES);
|
||||
}
|
||||
else
|
||||
{
|
||||
return Collections.emptySet();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user