v1.3.3 — replace storage flag with direct function call (race-free)
이전 v1.3.2: onPlayerJoin 에서 storage chat_answer:status active=1b 를 set. 하지만 통합 서버 (integrated singleplayer) 에서 데이터팩의 mq:load 가 player join 이후에 도는 케이스가 있어 모드가 써놓은 1b 를 데이터팩이 0b 로 덮어쓰는 race 가 있었고, repeat/players 의 첫 tick 체크 시점에 이미 0b 라서 알림 메세지가 안 떴음. v1.3.3: storage flag 자체를 폐기. onPlayerJoin 에서 execute as <uuid> at @s run function mq:players/mod_active_notice 를 호출. 데이터팩이 메세지 텍스트를 정의하고, 모드는 "지금 들어온 이 플레이어에게 보여라" 만 트리거한다. 데이터팩 자체가 없으면 함수가 없어 suppressed source 의 command 실패로 silent → 안전. 데이터팩(music_quiz) 도 동일 커밋으로 함수 추가 및 flag 제거됨.
This commit is contained in:
@@ -3,7 +3,7 @@ org.gradle.parallel=true
|
||||
|
||||
# ───── mod metadata ─────────────────────────────────────────────────────────
|
||||
mod_id=chat_answer
|
||||
mod_version=1.3.2
|
||||
mod_version=1.3.3
|
||||
mod_group=kr.tkrmagid.chatanswer
|
||||
mod_name=채팅정답
|
||||
|
||||
|
||||
Reference in New Issue
Block a user