Updated Packet listeners and adapters (markdown)

Dan Mulloy 2019-12-26 21:11:18 -05:00
parent 0c2ad75bf8
commit cb49f15300

@ -29,4 +29,7 @@ You can read more about PacketContainers on the wiki page: [insert]
## Odds and Ends
* Every packet can be cancelled with `event.setCancelled(true)` (that doesn't mean you _should_, but you _can_)
* In some game phases (non-play ones), `event.getPlayer()` will sometimes return a TemporaryPlayer when a Bukkit player is not available. They have a reduced set of available methods and can be checked for with [`event.isPlayerTemporary()`](https://ci.dmulloy2.net/job/ProtocolLib/javadoc/com/comphenix/protocol/events/PacketEvent.html#isPlayerTemporary--)
* In some game phases (non-play ones), `event.getPlayer()` will sometimes return a TemporaryPlayer when a Bukkit player is not available. They have a reduced set of available methods and can be checked for with [`event.isPlayerTemporary()`](https://ci.dmulloy2.net/job/ProtocolLib/javadoc/com/comphenix/protocol/events/PacketEvent.html#isPlayerTemporary--)
### That's all for now
Feel free to contribute pages and/or content, though! I'll be working on adding more as I have the time.