Improve inventory
This commit is contained in:
parent
ee5ab45cfb
commit
27c6a8bcd0
12 changed files with 99 additions and 17 deletions
|
@ -17,10 +17,12 @@ export default class GuiItemButton extends GuiButton {
|
|||
}
|
||||
|
||||
click() {
|
||||
this.onclick('left');
|
||||
if (this.drawn)
|
||||
this.onclick('left');
|
||||
}
|
||||
|
||||
rightClick() {
|
||||
this.onclick('right');
|
||||
if (this.drawn)
|
||||
this.onclick('right');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue