Hold item !

This commit is contained in:
2026-02-25 15:53:49 -03:00
parent 36fc3869a2
commit 4862bef3f7
6 changed files with 93 additions and 35 deletions
+1
View File
@@ -101,6 +101,7 @@ export class Inventory extends Component {
export class PlayerInventory extends Inventory {
owner_id: string;
holding_item: ItemStack | undefined;
hotbar_selected: number = 0;
constructor(owner_id: string) {
const container = new Container(9 * 4);