Effect icons and tooltip !
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ export class Client {
|
||||
|
||||
if (InputManager.is_key_pressed(options.key_inventory)) {
|
||||
if (!this.screen) {
|
||||
this.push_screen(new GuiPlayerInventory(player.inventories, (m) => this.connection.send(m)));
|
||||
this.push_screen(new GuiPlayerInventory(player, (m) => this.connection.send(m)));
|
||||
} else if (this.screen instanceof GuiMenuScreen) {
|
||||
this.pop_screen();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user