Skip to content

Commit 90754bc

Browse files
committed
fix: fix errors in chars_replacer.py
1 parent 70fe106 commit 90754bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

endstone_papi/chars_replacer.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Callable, Optional, Any
1+
from typing import Callable
22

33
from endstone import Player
44

@@ -55,8 +55,8 @@ def apply(
5555
builder.append(HEAD + identifier_str)
5656
if identified:
5757
builder.append(
58-
"_" + parameters_str
59-
) # TODO(daoge): colon or underscore??
58+
"|" + parameters_str
59+
)
6060
if had_space:
6161
builder.append(" ")
6262
i += 1
@@ -66,7 +66,7 @@ def apply(
6666
if placeholder is None:
6767
builder.append(HEAD + identifier_str)
6868
if identified:
69-
builder.append("_") # TODO(daoge): colon or underscore??
69+
builder.append("|")
7070
builder.append(parameters_str + TAIL)
7171
i += 1
7272
continue
@@ -75,7 +75,7 @@ def apply(
7575
if replacement is None:
7676
builder.append(HEAD + identifier_str)
7777
if identified:
78-
builder.append("_") # TODO(daoge): colon or underscore??
78+
builder.append("|")
7979
builder.append(parameters_str + TAIL)
8080
i += 1
8181
continue

0 commit comments

Comments
 (0)