9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 20:39:10 +00:00

refactor(bukkit/client-mod):优化 NetWorkDataTypes 类

This commit is contained in:
jhqwqmc
2025-05-28 05:58:28 +08:00
parent 3046ba83f2
commit 745dbf57f8
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ public class NetWorkDataTypes<T> {
return id2NetWorkDataTypes.get(id);
}
@SuppressWarnings("unchecked")
@SuppressWarnings({"unchecked", "unused"})
public <R> NetWorkDataTypes<R> as(Class<R> clazz) {
return (NetWorkDataTypes<R>) this;
}