-
Notifications
You must be signed in to change notification settings - Fork 36
'GUI' can't be used when creating a gui #34
Comments
GUI
can't be used when creating a gui
Just read the error message, you can't use make gui slot 1, 3, 10, 11, 12, 19, 28, 36, 37, 45, 46, 52 and 53 with black stained glass pane named "&0":
if slot 1 of gui is dirt:
make gui slot 1 with grass
else:
make gui slot 1 with diamond block |
I did, I was asked by tuke to make an issue though |
I can't see purpose on using |
to get the inventory of the gui you're creating?? |
Why you would want that lol. But did you try to use |
making a slot stealable without having to have on |
You can use make gui ...:
uncancel event to get stealable items, also with actions. |
that'd make all items stealable, i want specific items stealable. |
No it shouldn't do that. The manager cancels inventory click event when you click on a gui item, this uncancels it.
|
oh i see what you're saying. Like
? that way only the grass would be stealable? |
Yeah. The code in the |
Anyways, I only posted this cause I was asked by tuke to do so lol |
|
I tested it and I can't replicate your issue. The command /bug:
trigger:
create a gui with virtual chest with 2 rows named "TuSKe Bug":
make gui slot 1, 3, 10, 11, 12, 19, 28, 36, 37, 45, 46, 52 and 53 with black stained glass pane named "&0"
if slot 1 of last gui is dirt:
make gui slot 1 with grass
else:
make gui slot 1 with diamond block
open last created gui to player |
Oh okay, thanks :) |
Error:![image](https://user-images.githubusercontent.com/12315186/34457545-a6f285ec-ed81-11e7-8c78-24e6c6fe1993.png)
Code:
The text was updated successfully, but these errors were encountered: