Skip to content

Commit

Permalink
Cleaned up fail functions
Browse files Browse the repository at this point in the history
  • Loading branch information
virustotalop committed Sep 7, 2018
1 parent 0bfdadc commit 921afd3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/slot/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,12 @@ More complex example of a slot.
functions: #Functions to run on click
- "broadcast: &fThis is a simple test"
Example using the pay function with a fail function
Example of using fail functions.

.. code-block:: yaml
'0': #Index to be placed at, starting at 0
amount: 2 #2 of the item, default is 1
icon: "DIRT" #Icon for the slot
name: "&cDirt but red" #Name supports color codes
lore: #Lore for the item
- "&cThere is dirt in this slot"
functions: #Functions to run on click
- "pay: 1000"
pay-failfunctions: #Didn't have 1000 to pay
Expand Down

0 comments on commit 921afd3

Please sign in to comment.