功能bug
parent
758817d5f3
commit
0de940f9d0
|
@ -11,6 +11,9 @@ import com.ljsd.jieling.core.FunctionManager;
|
|||
public class FunctionContext {
|
||||
|
||||
public static FunctionManager getFunction(int type){
|
||||
if(FunctionIdEnum.getFunctionIdEnumByType(type)==null){
|
||||
return null;
|
||||
}
|
||||
return FunctionIdEnum.getFunctionIdEnumByType(type).getManager();
|
||||
}
|
||||
public static FunctionIdEnum getEnumByProto(int protoId){
|
||||
|
|
Loading…
Reference in New Issue