Skip to content

Commit 06dc7d1

Browse files
committed
Typo
1 parent 955f7da commit 06dc7d1

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Removed the FastInv events, now it just use the Bukkit events
1414
* Add `removeItem(int slot)` and `removeItems(int... slots)`, it's cleaner than adding a `null` item
1515
* Better `ItemBuilder`
16-
* If you have any problem with this new version you can contact me on Discord (link in the README)
16+
* If you have any problem with this new version you can contact me on Discord (link in the [README](README.md))
1717

1818
## Version 2.1 (20/12/2018)
1919
* Replace `FastInvClickListener` with `Consumer<FastInvClickEvent>` and `FastInvCloseListener` with `Consumer<FastInvCloseEvent>`

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void onEnable() {
7777
```
7878

7979
#### Create an inventory class
80-
Now you can create an inventory by make a class that extends `FastInv`, add items in the constructor.
80+
Now you can create an inventory by make a class that extends `FastInv`, and add items in the constructor.
8181
You can also override `onClick`, `onClose` and `onOpen` if you need
8282

8383
Just small example:
@@ -108,16 +108,16 @@ public class ExampleInventory extends FastInv {
108108
event.getPlayer().sendMessage(ChatColor.GOLD + "You closed the inventory");
109109
}
110110
}
111-
````
112-
113-
And to open the inventory
114111
```
112+
113+
And open the inventory
114+
```java
115115
new ExampleInventory().open(player);
116116
```
117117

118118
#### Create a 'compact' inventory
119119

120-
If you prefere you can create a 'compate' inventory that don't need a full class. But the first method you be use
120+
If you prefer you can create a 'compact' inventory that don't need a full class. But the first method should be use
121121

122122
```java
123123
FastInv inv = new FastInv(InventoryType.DISPENSER, "Example compact inventory");

0 commit comments

Comments
 (0)