File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/main/java/net/hypixel/modapi/serializer Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ You can then include the dependency in your project.
3333<dependency >
3434 <groupId >net.hypixel</groupId >
3535 <artifactId >mod-api</artifactId >
36- <version >0.1.6 </version >
36+ <version >0.1.7 </version >
3737</dependency >
3838```
3939
4040``` gradle
4141dependencies {
42- implementation 'net.hypixel:mod-api:0.1.6 '
42+ implementation 'net.hypixel:mod-api:0.1.7 '
4343}
4444```
Original file line number Diff line number Diff line change 66
77 <groupId >net.hypixel</groupId >
88 <artifactId >mod-api</artifactId >
9- <version >0.1.6 </version >
9+ <version >0.1.7 </version >
1010
1111 <properties >
1212 <maven .compiler.source>8</maven .compiler.source>
3131 <dependency >
3232 <groupId >io.netty</groupId >
3333 <artifactId >netty-all</artifactId >
34- <version >4.0.56 .Final</version >
34+ <version >4.0.23 .Final</version >
3535 <scope >provided</scope >
3636 </dependency >
3737 <dependency >
Original file line number Diff line number Diff line change 88import java .util .UUID ;
99
1010public class PacketSerializer {
11- private static final int MAX_BYTES_PER_CHAR_UTF8 = (int ) CharsetUtil .encoder (CharsetUtil .UTF_8 ).maxBytesPerChar ();
11+ private static final int MAX_BYTES_PER_CHAR_UTF8 = (int ) CharsetUtil .getEncoder (CharsetUtil .UTF_8 ).maxBytesPerChar ();
1212 private static final int MAX_STRING_LENGTH = 32767 ;
1313
1414 private final ByteBuf buf ;
You can’t perform that action at this time.
0 commit comments