Message error

Former-commit-id: 7c81f7a84bccd5ffdc995dbffe05af9ef9494245 [formerly 6ff031b394cdb1c2db244741fe2a074988562f4d]
Former-commit-id: 7a1e463d17667a64ccb50a1468adf41b608989a8
This commit is contained in:
Ghost_chu committed 2018-11-21 22:54:33 +08:00
1 parent fcc782046c
commit 19dc32480e
1 file changed
+2 -2
@@ -90,7 +90,7 @@ public class ContainerShop implements Shop {
*/
public String getRemainingStock() {
if (this.unlimited)
return MsgUtil.getMessage("shop.unlimited");
return MsgUtil.getMessage("signs.unlimited");
return String.valueOf(Util.countItems(this.getInventory(), this.getItem()));
}
@@ -102,7 +102,7 @@ public class ContainerShop implements Shop {
*/
public String getRemainingSpace() {
if (this.unlimited)
return MsgUtil.getMessage("shop.unlimited");
return MsgUtil.getMessage("signs.unlimited");
return String.valueOf(Util.countSpace(this.getInventory(), this.getItem()));
}