mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-12 02:37:28 +08:00
wacca: fix tabbing error in util_put_items
This commit is contained in:
@@ -1074,17 +1074,17 @@ class WaccaBase:
|
|||||||
old_score = self.data.score.get_best_score(
|
old_score = self.data.score.get_best_score(
|
||||||
user_id, item.itemId, item.quantity
|
user_id, item.itemId, item.quantity
|
||||||
)
|
)
|
||||||
if not old_score:
|
if not old_score:
|
||||||
self.data.score.put_best_score(
|
self.data.score.put_best_score(
|
||||||
user_id,
|
user_id,
|
||||||
item.itemId,
|
item.itemId,
|
||||||
item.quantity,
|
item.quantity,
|
||||||
0,
|
0,
|
||||||
[0] * 5,
|
[0] * 5,
|
||||||
[0] * 13,
|
[0] * 13,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
)
|
)
|
||||||
|
|
||||||
if item.quantity == 0:
|
if item.quantity == 0:
|
||||||
item.quantity = WaccaConstants.Difficulty.HARD.value
|
item.quantity = WaccaConstants.Difficulty.HARD.value
|
||||||
|
|||||||
Reference in New Issue
Block a user