Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on player's held item change:
- if {_hasFatigue} is true:
- remove mining fatigue from the player
- remove haste from the player
- set {_hasFatigue} to false
- if player's tool is not a carrot on a stick:
- remove mining fatigue from the player
- remove haste from the player
- set {_hasFatigue} to false
- if player's tool is carrot on a stick:
- apply mining fatigue 10 to the player for 2 hours
- apply haste 5 to player for 2 hours
- set {_hasFatigue} to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement