fixed a small bug that prevented item equip

main
hecht 7 years ago
parent d0b36e2c6d
commit eed849735d

@ -127,7 +127,7 @@ if ($charm == 1) {
displayErrorMessage(NULL,'Dieser Charakter gehört nicht dir!', displayHistoryBackLink());
exit;
}
if ($item_info3['rassen_type'] != $char_id1['rasse']['type'] AND $item_info3['rassen_type'] != NULL) {
if ($item_info3['rassen_type'] != $char_id1['rasse_a']['type'] AND $item_info3['rassen_type'] != NULL) {
displayErrorMessage(NULL,'Dein Charakter kann dieses Item nicht benutzen!', displayHistoryBackLink());
exit;
}

Loading…
Cancel
Save