File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ You can then include the dependency in your project.
43
43
<dependency >
44
44
<groupId >net.hypixel</groupId >
45
45
<artifactId >mod-api</artifactId >
46
- <version >1.0</version >
46
+ <version >1.0.1 </version >
47
47
</dependency >
48
48
```
49
49
50
50
``` gradle
51
51
dependencies {
52
- implementation 'net.hypixel:mod-api:1.0'
52
+ implementation 'net.hypixel:mod-api:1.0.1 '
53
53
}
54
54
```
55
55
@@ -59,7 +59,7 @@ example in Fabric you would include the following in your `fabric.mod.json` file
59
59
``` json
60
60
{
61
61
"depends" : {
62
- "hypixel-mod-api" : " >=1.0"
62
+ "hypixel-mod-api" : " >=1.0.1 "
63
63
}
64
64
}
65
65
```
@@ -85,7 +85,7 @@ public class Example {
85
85
86
86
public class Example {
87
87
public void registerPacketHandler () {
88
- HypixelModAPI . getInstance(). registerHandler (ClientboundLocationPacket . class, packet - > {
88
+ HypixelModAPI . getInstance(). createHandler (ClientboundLocationPacket . class, packet - > {
89
89
packet. getServerName();
90
90
});
91
91
}
You can’t perform that action at this time.
0 commit comments