# ~AroveDev variables: {zmienna.%player%} = false on consume enchanted golden apple or golden apple or potion: set {zmienna.%player%} to true wait 4 seconds set {zmienna.%player%} to false on heal: if player's gamemode is survival or adventure: if {zmienna.%player%} is not true: cancel event