mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 20:34:49 +00:00
Fix goods limit bug
This commit is contained in:
parent
6d96906484
commit
22a651b4aa
@ -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