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