mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 13:19:18 -08:00
[J25] Implement Delightful Discovery
This commit is contained in:
parent
f46900aef9
commit
c360d007e6
3 changed files with 85 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ public class SpellsCastWatcher extends Watcher {
|
|||
}
|
||||
|
||||
public int getCount(UUID playerId) {
|
||||
return spellsCast.getOrDefault(playerId, new ArrayList<>()).size();
|
||||
return spellsCast.getOrDefault(playerId, Collections.emptyList()).size();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue