Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #adds the placed block from the player to a list variable.
- on block place:
- if {game} is true:
- add event-block to {blocksgone::*}
- #it should: prevent the player from breaking a block that he or another player did not place. but it does: it just doesn't let the #player break any block
- on block break:
- if {game} is true:
- if event-block is not {blocksgone::*}:
- cancel event
- else if event-block is {blocksgone::*}:
- remove event-block from {blocksgone::*}
- #delete the blocks placed by the player
- command /deleteblockas:
- trigger:
- set all blocks at {blocksgone::*} to air
- wait 5 ticks
- clear {blocksgone::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement