Follow up 80218e99e26df77d95e674098ce03eccf4ff09a6

This commit is contained in:
Cydh 2019-09-20 17:58:28 +07:00
parent 80218e99e2
commit c16cbc55ec
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ uint64 ItemSynthesisDatabase::parseBodyNode(const YAML::Node &node) {
bool item_synthesis_open(map_session_data *sd, unsigned int itemid) {
nullpo_retr(false, sd);
if (pc_cant_act(sd))
if (pc_cant_act2(sd) || (sd)->chatID)
return false;
if (pc_is90overweight(sd) || !pc_inventoryblank(sd)) {

View File

@ -107,7 +107,7 @@ uint64 ItemUpgradeDatabase::parseBodyNode(const YAML::Node &node) {
bool item_upgrade_open(map_session_data *sd, unsigned int itemid) {
nullpo_retr(false, sd);
if (pc_cant_act(sd))
if (pc_cant_act2(sd) || (sd)->chatID)
return false;
if (pc_is90overweight(sd) || !pc_inventoryblank(sd)) {