diff --git a/src/bed.cpp b/src/bed.cpp index 90629a9..f233e31 100644 --- a/src/bed.cpp +++ b/src/bed.cpp @@ -219,7 +219,7 @@ void BedItem::regeneratePlayer(Player* player) const { const uint32_t sleptTime = time(nullptr) - sleepStart; - Condition* condition = player->getCondition(CONDITION_REGENERATION, CONDITIONID_DEFAULT); + /*Condition* condition = player->getCondition(CONDITION_REGENERATION, CONDITIONID_DEFAULT); if (condition) { uint32_t regen; if (condition->getTicks() != -1) { @@ -236,7 +236,7 @@ void BedItem::regeneratePlayer(Player* player) const player->changeHealth(regen, false); player->changeMana(regen); - } + }*/ const int32_t soulRegen = sleptTime / (60 * 15); player->changeSoul(soulRegen);