9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2026-01-06 15:52:03 +00:00

Update SNBTReader.java

This commit is contained in:
XiaoMoMi
2025-06-27 16:47:09 +08:00
parent a98cde2b89
commit c298987add

View File

@@ -230,7 +230,6 @@ public final class SNBTReader extends DefaultStringReader {
if (tokenLength > 1) {
// 至少有1个字符给了后缀的可能性
char lastChar = charAt(tokenStart + tokenLength - 1);
lastChar = Character.toLowerCase(lastChar); // 强制转小写进行匹配.
try {
switch (lastChar) {
case 'b', 'B' -> {