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:
@@ -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' -> {
|
||||
|
||||
Reference in New Issue
Block a user