-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
♿ api:data_getを実行時該当ストレージを一旦削除するように #1496
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nullable な場合はそこを消すだけじゃなくて selected_item(_fetch) みたいに、DataCache 側にも工夫をいれる必要があるはずなので一緒にやる必要がありそう
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nullable な場合はそこを消すだけじゃなくて selected_item(_fetch) みたいに、DataCache 側にも工夫をいれる必要があるはずなので一緒にやる必要がありそう
playerがnullを取りかねないような値は切り替えたけど |
data_get はそもそもパフォーマンスの観点から利用されてるに過ぎないもので、これを非 player に使うかの判断は非常に難しいことから一律に player 限定とするのが楽に思えるね |
明らかにプレイヤーが値を持たないmcfはこのまま置いたままで大丈夫? |
実運用上は持ち得ないかもしれないけど、この NBT の一覧は確かソースコード上のものから来てるから、ソースコード上は持ち得るはずなので、このままでいいかな |
エンティティ共通nbtか、了解 |
nullになるやつだけ消そうね