dmulloy2/PacketWrapper

AbstractPacket: Typo in exception

Closed this issue · 2 comments

public void receivePacket(Player sender) { try { ProtocolLibrary.getProtocolManager().recieveClientPacket(sender, getHandle()); } catch (Exception e) { throw new RuntimeException("Cannot recieve packet.", e); } }
The exception message should be
"Cannot receive packet."
Probably copied over from the deprecated and misspelled method.

You could pull request it

Opened a pull request.