mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 04:32:53 +08:00
Fix goods limit bug
This commit is contained in:
parent
bd560785ba
commit
eb703f9f72
@ -54,7 +54,7 @@ public class HandlerBuyGoodsReq extends PacketHandler {
|
||||
session.getPlayer().save();
|
||||
}
|
||||
|
||||
if (bought + buyGoodsReq.getBoughtNum() > sg.getBuyLimit()) {
|
||||
if ((bought + buyGoodsReq.getBoughtNum() > sg.getBuyLimit()) && sg.getBuyLimit() != 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user