Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on place end stone:
- if player's tool's name is "&6Generator kamienia":
- block above event-block is air or stone:
- add location of block above event-block to {stoniarki::*}
- send "&a&l> &7Stworzono generator kamienia"
- stop
- else:
- cancel event
- send "&c&l> &7Nad generatorem nie moze byc bloku"
- on break of end stone:
- cancel event
- set event-block to air
- drop end stone named "&6Generator kamienia" at event-location
- remove location of block above event-block from {stoniarki::*}
- send "&a&l> &7Znisczono generator kamienia"
- every 2 seconds:
- set blocks at {stoniarki::*} to stone
Advertisement
Add Comment
Please, Sign In to add comment