parent
d736b60c24
commit
47c4bd6818
|
@ -1709,7 +1709,7 @@ public class ItemUtil {
|
|||
Item item = user.getItemManager().getItem(ints[0]);
|
||||
SItem sItem = SItem.getsItemMap().get(ints[0]);
|
||||
//数量超过了
|
||||
if (item.getItemNum()+ints[1] > sItem.getItemNumlimit()){
|
||||
if (item!=null&&item.getItemNum()+ints[1] > sItem.getItemNumlimit()){
|
||||
result++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue