Fixed "Unequip All" button not working on main server clients. Fixes #7337 (#7338)

This commit is contained in:
Jittapan Pluemsumran 2022-10-10 11:06:23 +07:00 committed by GitHub
parent fa36ae27dd
commit 43f5094620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22366,7 +22366,7 @@ void clif_unequipall_reply( struct map_session_data* sd, bool failed ){
}
void clif_parse_unequipall( int fd, struct map_session_data* sd ){
#if PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210818
#if PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210818
if( pc_cant_act( sd ) ){
clif_unequipall_reply( sd, true );
return;