修复TellRaw的ProtocolLib库解析错误的问题...

Signed-off-by: 502647092 <jtb1@163.com>
master
502647092 2016-01-13 16:15:17 +08:00
parent dc07323f4d
commit c6f9bdcae4
1 changed files with 3 additions and 0 deletions

View File

@ -235,6 +235,9 @@ public abstract class FancyMessage implements JsonRepresentedObject, Cloneable,
}
}
}
if (getNMSsaveNBTMethod == null || nmsNBTTagCompound == null) {
throw new ClassNotFoundException("Can't find the NBTMethod or NBTTagCompound class");
}
if (!useProtocolLib) {
Bukkit.getLogger().info("[TellRawLib] 使用ChatSerializer序列化类处理...");
} else {