Skip to content

Commit 37a9348

Browse files
committed
Update README.md with 1.0.1 release
1 parent 4a4a409 commit 37a9348

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ You can then include the dependency in your project.
4343
<dependency>
4444
<groupId>net.hypixel</groupId>
4545
<artifactId>mod-api</artifactId>
46-
<version>1.0</version>
46+
<version>1.0.1</version>
4747
</dependency>
4848
```
4949

5050
```gradle
5151
dependencies {
52-
implementation 'net.hypixel:mod-api:1.0'
52+
implementation 'net.hypixel:mod-api:1.0.1'
5353
}
5454
```
5555

@@ -59,7 +59,7 @@ example in Fabric you would include the following in your `fabric.mod.json` file
5959
```json
6060
{
6161
"depends": {
62-
"hypixel-mod-api": ">=1.0"
62+
"hypixel-mod-api": ">=1.0.1"
6363
}
6464
}
6565
```
@@ -85,7 +85,7 @@ public class Example {
8585

8686
public class Example {
8787
public void registerPacketHandler() {
88-
HypixelModAPI.getInstance().registerHandler(ClientboundLocationPacket.class, packet -> {
88+
HypixelModAPI.getInstance().createHandler(ClientboundLocationPacket.class, packet -> {
8989
packet.getServerName();
9090
});
9191
}

0 commit comments

Comments
 (0)