| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Move the example into the entity selector section rather than the player profile section, matching the argument used in the examples. Move non Paper/Spigot specific examples into the Bukkit reference code section to reduce duplicated information (only `PlayerProfileArgument` and `AsyncPlayerProfileArgument` are Paper/Spigot specific)
| Back | FazBrowse Home | New Git URL |
ThatCorona pointed out a runtime issue with the player name suggestions example on Discord.
It currently uses a PlayerProfileArgument, but tries to cast the result to Player rather than PlayerProfile. A Player makes sense for the example warp command, so I changed it to use an EntitySelectorArgument.OnePlayer. Therefore, I moved the example from the PlayerProfile argument section to the Entity selector argument section.
I also moved the entity examples that are not Paper/Spigot specific into the Bukkit reference code module (only the example that uses the AsyncPlayerProfileArgument needs Paper/Spigot). Since they work the same and use the same code, I think having them in one place makes them easier to update.