From cb49f15300435d10cd6d891cb6dc1e0842b143ba Mon Sep 17 00:00:00 2001 From: Dan Mulloy Date: Thu, 26 Dec 2019 21:11:18 -0500 Subject: [PATCH] Updated Packet listeners and adapters (markdown) --- Packet-listeners-and-adapters.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Packet-listeners-and-adapters.md b/Packet-listeners-and-adapters.md index 9c84e70..12d6826 100644 --- a/Packet-listeners-and-adapters.md +++ b/Packet-listeners-and-adapters.md @@ -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--) \ No newline at end of file +* 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. \ No newline at end of file