mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-03 07:29:58 +08:00
More usage of payItems
This commit is contained in:
committed by
Melledy
Unverified
parent
c7d5d8640c
commit
74783cfecd
@@ -128,7 +128,7 @@ public class GachaManager {
|
||||
}
|
||||
|
||||
// Spend currency
|
||||
if (banner.getCostItem() > 0 && !player.getInventory().payItems(new ItemParamData[] {new ItemParamData(banner.getCostItem(), times)})) {
|
||||
if (banner.getCostItem() > 0 && !player.getInventory().payItem(banner.getCostItem(), times)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user