summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MinecraftProfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/minecraft/MinecraftProfile.cpp')
-rw-r--r--logic/minecraft/MinecraftProfile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/minecraft/MinecraftProfile.cpp b/logic/minecraft/MinecraftProfile.cpp
index e9ff87d8..e87ece00 100644
--- a/logic/minecraft/MinecraftProfile.cpp
+++ b/logic/minecraft/MinecraftProfile.cpp
@@ -99,10 +99,14 @@ bool MinecraftProfile::canRemove(const int index) const
bool MinecraftProfile::remove(const int index)
{
if (!canRemove(index))
+ {
+ qDebug() << "Patch" << index << "is non-removable";
return false;
+ }
if(!m_strategy->removePatch(VersionPatches.at(index)))
{
+ qCritical() << "Patch" << index << "could not be removed";
return false;
}