1
mirror of https://github.com/CarmJos/UltraDepository.git synced 2024-09-19 19:55:45 +00:00

移除一些debug消息

This commit is contained in:
Carm Jos 2022-01-03 23:08:09 +08:00
parent e01aa6207e
commit 64acb25bfc

View File

@ -131,12 +131,9 @@ public class UserData {
public void checkoutDate() { public void checkoutDate() {
if (isCurrentDay()) { if (isCurrentDay()) return;
Main.debug("Date is not change, skip clear sold amount.");
return;
}
this.date = DateIntUtil.getCurrentDate(); //更新日期 this.date = DateIntUtil.getCurrentDate(); //更新日期
Main.debug("Date changed, clear sold.");
getDepositories().values().stream() getDepositories().values().stream()
.flatMap(value -> value.getContents().values().stream()) .flatMap(value -> value.getContents().values().stream())
.forEach(DepositoryItemData::clearSold); .forEach(DepositoryItemData::clearSold);