Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glass Blocks issue #1316

Closed
McSkinnerOG opened this issue Jun 16, 2018 · 4 comments
Closed

Glass Blocks issue #1316

McSkinnerOG opened this issue Jun 16, 2018 · 4 comments

Comments

@McSkinnerOG
Copy link

McSkinnerOG commented Jun 16, 2018

Upon breaking any glass block with the code below i get the right glass block AND a white glass block for some reason.

on break of orange_glass_block:
cancel event
set block to air
drop 1 orange_glass_block
stop

on break of white_glass_block:
cancel event
set block to air
drop 1 white_glass_block
stop

on break of magenta_glass_block:
cancel event
set block to air
drop 1 magenta_glass_block
stop

on break of light_blue_glass_block:
cancel event
set block to air
drop 1 light_blue_glass_block
stop

on break of yellow_glass_block:
cancel event
set block to air
drop 1 yellow_glass_block
stop

on break of light_green_glass_block:
cancel event
set block to air
drop 1 light_green_glass_block
stop

on break of pink_glass_block:
cancel event
set block to air
drop 1 pink_glass_block
stop

on break of gray_glass_block:
cancel event
set block to air
drop 1 gray_glass_block
stop

on break of light_gray_glass_block:
cancel event
set block to air
drop 1 light_gray_glass_block
stop

on break of cyan_glass_block:
cancel event
set block to air
drop 1 cyan_glass_block
stop

on break of purple_glass_block:
cancel event
set block to air
drop 1 purple_glass_block
stop

on break of blue_glass_block:
cancel event
set block to air
drop 1 blue_glass_block
stop

on break of brown_glass_block:
cancel event
set block to air
drop 1 brown_glass_block
stop

on break of dark_green_glass_block:
cancel event
set block to air
drop 1 dark_green_glass_block
stop

on break of red_glass_block:
cancel event
set block to air
drop 1 red_glass_block
stop

on break of black_glass_block:
cancel event
set block to air
drop 1 black_glass_block
stop

I was asked to report it here via SKUnityForums.

@Pikachu920
Copy link
Member

Does this happen with this code?

on break of any glass:
  drop event-block

@McSkinnerOG
Copy link
Author

yes white_glass_block drops with that code but plain glass has to be defined separately still.

@bensku
Copy link
Member

bensku commented Jun 18, 2018

Likely an issue with aliases. Tagging for rework so that we'll specially check this doesn't happen with it.

@bensku bensku closed this as completed Sep 5, 2018
@bensku bensku added completed The issue has been fully resolved and the change will be in the next Skript update. and removed completed The issue has been fully resolved and the change will be in the next Skript update. labels Sep 5, 2018
@bensku
Copy link
Member

bensku commented Sep 5, 2018

See #1507

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

No branches or pull requests

3 participants