Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Named a gui with shape doesn't work #50

Closed
weberlepecheur opened this issue Apr 2, 2018 · 0 comments
Closed

Named a gui with shape doesn't work #50

weberlepecheur opened this issue Apr 2, 2018 · 0 comments

Comments

@weberlepecheur
Copy link

weberlepecheur commented Apr 2, 2018

Hi,

Spigot 1.12.2
Skript-dev34
TuSke 1.8.2

function bo_GUI(p: player, title: text, page: integer, while: integer):
	if {_page} = 0:
		add "PPPPPPPPP" to {_shape::*}
		add "PAAAAAAAP" to {_shape::*}
		add "PPAAAAAPP" to {_shape::*}
		add "PAAAAAAAP" to {_shape::*}
		add "PPPPPPPPP" to {_shape::*}
		create a gui with virtual chest and shape {_shape::*} named "§2Menu":
			make gui slot "P" with gray stained glass pane named " "
			make gui slot "A" with air
		open last gui to {_p}

This code said to me this :

[20:31:30] [Server thread/ERROR]: There is no inventory type called 'chest and shape {_shape::}'. Check TuSKe documentation to search about it. (boexp.sk, line 29: create a gui with virtual chest and shape {_shape::} named "Menu":')

But it's work fine when I use this :
create a gui with virtual chest and shape {_shape::*}:

In summary, adding « named "§2Menu" » to the line causes the error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants