THIS
This commit is contained in:
@@ -33,7 +33,7 @@ class FLYSocket {
|
||||
let packetID = data.getInt8(this.pointer++);
|
||||
packets.push({
|
||||
packetID: packetID,
|
||||
value: (this["handle_packet" + packetID] || this.handle_packetInvalid)(data)
|
||||
value: (this["handle_packet" + packetID] || this.handle_packetInvalid).call(this, data)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user