Skip to content

Commit

Permalink
use '<root>' instead of 'root'
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudeZsb committed Dec 4, 2023
1 parent 5349506 commit 283af71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/world/src/WorldResourceId.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ library WorldResourceIdInstance {
abi.encodePacked(
resourceType,
":",
resourceNamespace == bytes14("") ? bytes14("root") : resourceNamespace,
resourceNamespace == bytes14("") ? bytes14("<root>") : resourceNamespace,
":",
resourceName == bytes16("") ? bytes16("root") : resourceName
resourceName == bytes16("") ? bytes16("<root>") : resourceName
)
);
}
Expand Down

0 comments on commit 283af71

Please sign in to comment.