mirror of
https://github.com/CarmJos/UltraDepository.git
synced 2024-09-19 19:55:45 +00:00
移除一些debug消息
This commit is contained in:
parent
e01aa6207e
commit
64acb25bfc
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user