fix
This commit is contained in:
parent
d2e1222e6c
commit
c03525b1ca
1 changed files with 2 additions and 9 deletions
|
|
@ -1,16 +1,9 @@
|
|||
---
|
||||
description:
|
||||
globs:
|
||||
description: Restricts usage of the global Mineflayer `bot` variable to only src/ files; prohibits usage in renderer/. Specifies correct usage of player state and appViewer globals.
|
||||
globs: src/**/*.ts,renderer/**/*.ts
|
||||
alwaysApply: false
|
||||
---
|
||||
Ask AI
|
||||
---
|
||||
description: Restricts usage of the global Mineflayer `bot` variable to only src/ files; prohibits usage in renderer/. Specifies correct usage of player state and appViewer globals.
|
||||
globs:
|
||||
- src/**/*.ts
|
||||
- renderer/**/*.ts
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
- The global variable `bot` refers to the Mineflayer bot instance.
|
||||
- You may use `bot` directly in any file under the `src/` directory (e.g., `src/mineflayer/playerState.ts`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue