Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/datalib/function/api/gamerule/get.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
execute unless function datalib:debug/tools/utils/check_all run return 0

# Normalize key (spaces → underscores, lowercase)
data modify storage stringlib:input replace.String set from storage datalib:input rule
data modify storage stringlib:input replace.Find set value " "
data modify storage stringlib:input replace.String set from storage datalib:input rule
data modify storage stringlib:input replace.Find set value " "
data modify storage stringlib:input replace.Replace set value "_"
function stringlib:util/replace
data modify storage datalib:input _gamerule_norm set from storage stringlib:output replace
Expand Down