0消耗判断

back_recharge
lvxinran 2020-09-07 17:31:46 +08:00
parent 897563644f
commit 2d788828d5
3 changed files with 1 additions and 9 deletions

View File

@ -1261,7 +1261,7 @@ public class ItemUtil {
}
return false;
}
if (entry.getValue() <= 0) {
if (entry.getValue() < 0) {
LOGGER.info("checkCost uid=>{} use negative item itemId=>{} count=>{}", user.getId(), entry.getKey(), entry.getValue());
return false;
}

View File

@ -1,4 +0,0 @@
package PACKAGE_NAME;
public class Test {
}

View File

@ -1,4 +0,0 @@
package db;
public class Test {
}