Commit f81d61c
committed
♻️ refactor(service): improve requirement caching for connected players
- check player connection status before caching requirement
- store requirement result in cache only if player is connected1 parent a2e2a4e commit f81d61c
1 file changed
Lines changed: 4 additions & 1 deletion
File tree
- surf-api-paper/surf-api-paper-server/src/main/kotlin/dev/slne/surf/api/paper/server/command
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
0 commit comments