mc-beta-server/server/ItemStack.js
2021-10-17 00:52:21 +01:00

10 lines
No EOL
142 B
JavaScript

module.exports = class {
constructor(id, count) {
this.id = id;
this.count = count;
}
updateCount(count) {
this.count += count;
}
}