mc-beta-server/server/ItemStack.js

10 lines
142 B
JavaScript
Raw Normal View History

2021-10-17 00:52:21 +01:00
module.exports = class {
constructor(id, count) {
this.id = id;
this.count = count;
}
updateCount(count) {
this.count += count;
}
}