aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/DLC
diff options
context:
space:
mode:
authorChris <93794624+Foxify52@users.noreply.github.com>2026-03-01 14:18:00 -0500
committerChris <93794624+Foxify52@users.noreply.github.com>2026-03-01 14:18:00 -0500
commitc1aebee5b967239643b648aec15930cdf476b9ee (patch)
tree909d9b22f18b1909b78e30b55881e85fb35dca20 /Minecraft.Client/Common/DLC
parent5484b78eca534ce26ff8744c566198935ba87d4b (diff)
parent38b442b1e33726f011fd6a28824fb8e6e99ccb5a (diff)
Merge branch 'main' of https://github.com/Foxify52/MinecraftConsoles
Diffstat (limited to 'Minecraft.Client/Common/DLC')
-rw-r--r--Minecraft.Client/Common/DLC/DLCPack.cpp7
-rw-r--r--Minecraft.Client/Common/DLC/DLCSkinFile.cpp4
2 files changed, 8 insertions, 3 deletions
diff --git a/Minecraft.Client/Common/DLC/DLCPack.cpp b/Minecraft.Client/Common/DLC/DLCPack.cpp
index 23a2e44a..507e51a7 100644
--- a/Minecraft.Client/Common/DLC/DLCPack.cpp
+++ b/Minecraft.Client/Common/DLC/DLCPack.cpp
@@ -382,7 +382,10 @@ DWORD DLCPack::getFileIndexAt(DLCManager::EDLCType type, const wstring &path, bo
bool DLCPack::hasPurchasedFile(DLCManager::EDLCType type, const wstring &path)
{
- if(type == DLCManager::e_DLCType_All)
+ // Patch all DLC to be "purchased"
+ return true;
+
+ /*if(type == DLCManager::e_DLCType_All)
{
app.DebugPrintf("Unimplemented\n");
#ifndef _CONTENT_PACKAGE
@@ -406,5 +409,5 @@ bool DLCPack::hasPurchasedFile(DLCManager::EDLCType type, const wstring &path)
{
//purchased
return true;
- }
+ }*/
}
diff --git a/Minecraft.Client/Common/DLC/DLCSkinFile.cpp b/Minecraft.Client/Common/DLC/DLCSkinFile.cpp
index f3768a34..c845acd9 100644
--- a/Minecraft.Client/Common/DLC/DLCSkinFile.cpp
+++ b/Minecraft.Client/Common/DLC/DLCSkinFile.cpp
@@ -205,7 +205,9 @@ bool DLCSkinFile::getParameterAsBool(DLCManager::EDLCParameterType type)
switch(type)
{
case DLCManager::e_DLCParamType_Free:
- return m_bIsFree;
+ // Patch all DLC to be "paid"
+ return false;
+ // return m_bIsFree;
default:
return false;
}