don't care

This commit is contained in:
Holly Stubbs 2023-11-05 00:58:00 +00:00
parent 522916ecaa
commit 83f37a0621
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -71,7 +71,7 @@ export class MPClient {
switch (packetId) {
case Packet.Chat: this.handleChat(new PacketChat().readData(reader)); break;
case Packet.Respawn: this.handlePacketRespawn(new PacketRespawn().readData(reader)); break;
case Packet.Respawn: this.handlePacketRespawn(); break;
case Packet.Player: this.handlePacketPlayer(new PacketPlayer().readData(reader)); break;
case Packet.PlayerPosition: this.handlePacketPlayerPosition(new PacketPlayerPosition().readData(reader)); break;
case Packet.PlayerLook: this.handlePacketPlayerLook(new PacketPlayerLook().readData(reader)); break;
@ -125,7 +125,7 @@ export class MPClient {
this.mcServer.sendToAllClients(packet.writeData());
}
private handlePacketRespawn(packet:PacketRespawn) {
private handlePacketRespawn() {
if (this.entity.health > 0) {
return;
}