mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-26 18:39:20 +00:00
refactor(bukkit/client-mod):优化 NetWorkDataTypes 类
This commit is contained in:
@@ -56,7 +56,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user