File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @sanctumterra/raknet" ,
3
- "version" : " 1.3.72 " ,
3
+ "version" : " 1.3.73 " ,
4
4
"description" : " " ,
5
5
"main" : " dist/index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export function Create(id: number) {
26
26
27
27
if ( ! properties . includes ( "serialize" ) ) {
28
28
target . prototype . serialize = function ( ) {
29
- this . clear ( ) ;
29
+ this . flush ( ) ;
30
30
if ( id <= 255 ) this . writeUint8 ( id ) ;
31
31
else if ( id <= 65535 ) this . writeUint16 ( id ) ;
32
32
else if ( id <= 4294967295 ) this . writeUint32 ( id ) ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class BasePacket extends BinaryStream {
32
32
/**
33
33
* Clears the packet.
34
34
*/
35
- public clear ( ) : void {
35
+ public flush ( ) : void {
36
36
this . binary = [ ] ;
37
37
}
38
38
}
You can’t perform that action at this time.
0 commit comments