AbstractPacket: Typo in exception
Closed this issue · 2 comments
Photon-GitHub commented
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.
dmulloy2 commented
You could pull request it
Photon-GitHub commented
Opened a pull request.