Skip to content

Commit

Permalink
Add get-jetpack command
Browse files Browse the repository at this point in the history
  • Loading branch information
tal5 committed May 25, 2023
1 parent 33407ad commit 1f29198
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions JetPack.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,14 @@ jetpack_check:
debug: false
script:
- stop if:!<player.equipment_map.get[chestplate].script.name.equals[jetpack_item].if_null[false]>

jetpack_command:
type: command
debug: false
name: get-jetpack
description: Gives you a jetpack
usage: /get-jetpack
permission: jetpack.get
script:
- if <context.source_type> == PLAYER:
- give jetpack_item

0 comments on commit 1f29198

Please # to comment.