Hello, I am making a skywars skript and I am trying to make the cage but when I set the block type to glass it picks a random stained glass color.
command /glass:
trigger:
set block northeast of the player to glass
set block east of the player to glass
set block southeast of the player to glass
set block south of the player to glass
set block southwest of the player to glass
set block west of the player to glass
set block northwest of the player to glass
set block 2 blocks up north of the player to glass
set block 2 blocks up northeast of the player to glass
set block 2 blocks up east of the player to glass
set block 2 blocks up southeast of the player to glass
set block 2 blocks up south of the player to glass
set block 2 blocks up southwest of the player to glass
set block 2 blocks up west of the player to glass
set block 2 blocks up northwest of the player to glass
set block 2 blocks above the player to glass
Please help me.
command /glass:
trigger:
set block northeast of the player to glass
set block east of the player to glass
set block southeast of the player to glass
set block south of the player to glass
set block southwest of the player to glass
set block west of the player to glass
set block northwest of the player to glass
set block 2 blocks up north of the player to glass
set block 2 blocks up northeast of the player to glass
set block 2 blocks up east of the player to glass
set block 2 blocks up southeast of the player to glass
set block 2 blocks up south of the player to glass
set block 2 blocks up southwest of the player to glass
set block 2 blocks up west of the player to glass
set block 2 blocks up northwest of the player to glass
set block 2 blocks above the player to glass
Please help me.