diff --git a/Spigot-API-Patches/Add-player-view-distance-API.patch b/Spigot-API-Patches/Add-player-view-distance-API.patch index bbaa40099f..b768d724e5 100644 --- a/Spigot-API-Patches/Add-player-view-distance-API.patch +++ b/Spigot-API-Patches/Add-player-view-distance-API.patch @@ -17,14 +17,22 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + * Gets the view distance for this player + * + * @return the player's view distance ++ * @deprecated This is unimplemented and will throw an exception at runtime. The {@link org.bukkit.World World}-based methods still work. ++ * @see org.bukkit.World#getViewDistance() ++ * @see org.bukkit.World#getNoTickViewDistance() + */ ++ @Deprecated + public int getViewDistance(); + + /** + * Sets the view distance for this player + * + * @param viewDistance the player's view distance ++ * @deprecated This is unimplemented and will throw an exception at runtime. The {@link org.bukkit.World World}-based methods still work. ++ * @see org.bukkit.World#setViewDistance(int) ++ * @see org.bukkit.World#setNoTickViewDistance(int) + */ ++ @Deprecated + public void setViewDistance(int viewDistance); // Paper end