fix gm
parent
596a8bf291
commit
dda12ccfec
|
|
@ -82,6 +82,9 @@ public class GMRequestHandler extends BaseHandler{
|
|||
CommonProto.GmResponse.Builder gmBuilder = CommonProto.GmResponse.newBuilder();
|
||||
switch (gmCommandType){
|
||||
case GlobalGm.ADD_ITEM:
|
||||
if (prarm1 ==1){
|
||||
prarm2 = Integer.parseInt(commandArray[2]);
|
||||
}
|
||||
gmBuilder.setDrop(ItemUtil.drop(cUser,new int[][]{{prarm1,prarm2}}, BIReason.GM_REWARD));
|
||||
break;
|
||||
case GlobalGm.ADD_CARD:
|
||||
|
|
|
|||
Loading…
Reference in New Issue