From a3e15bce4d22294e151e6020893ca75e3112d9e9 Mon Sep 17 00:00:00 2001 From: Myles Date: Tue, 4 Oct 2016 21:57:14 +0100 Subject: [PATCH] Use correct tags for javadocs --- .../us/myles/ViaVersion/api/PacketWrapper.java | 2 +- .../myles/ViaVersion/api/ViaVersionConfig.java | 16 ++++++++-------- .../api/configuration/ConfigurationProvider.java | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/api/PacketWrapper.java b/common/src/main/java/us/myles/ViaVersion/api/PacketWrapper.java index 7d4f7730d..f5c7cb1fd 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/PacketWrapper.java +++ b/common/src/main/java/us/myles/ViaVersion/api/PacketWrapper.java @@ -356,7 +356,7 @@ public class PacketWrapper { * Send this packet to the associated user. * Be careful not to send packets twice. * (Sends it after current) - *
+ *

* This method is no longer used, it's favoured to use {@link #send(Class)} as it will handle the pipeline properly. * * @throws Exception if it fails to write diff --git a/common/src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java b/common/src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java index ac8c1d1cd..0c0313b7a 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java +++ b/common/src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java @@ -19,14 +19,14 @@ public interface ViaVersionConfig { boolean isPreventCollision(); /** - * Get if 1.9 & 1.10 clients are shown the new effect indicator in the top-right corner + * Get if 1.9 & 1.10 clients are shown the new effect indicator in the top-right corner * * @return true if the using of the new effect indicator is enabled */ boolean isNewEffectIndicator(); /** - * Get if 1.9 & 1.10 clients are shown the new death message on the death screen + * Get if 1.9 & 1.10 clients are shown the new death message on the death screen * * @return true if enabled */ @@ -40,28 +40,28 @@ public interface ViaVersionConfig { boolean isSuppressMetadataErrors(); /** - * Get if blocking in 1.9 & 1.10 appears as a player holding a shield + * Get if blocking in 1.9 & 1.10 appears as a player holding a shield * * @return true if shield blocking is enabled */ boolean isShieldBlocking(); /** - * Get if armor stand positions are fixed so holograms show up at the correct height in 1.9 & 1.10 + * Get if armor stand positions are fixed so holograms show up at the correct height in 1.9 & 1.10 * * @return true if hologram patching is enabled */ boolean isHologramPatch(); /** - * Get if boss bars are fixed for 1.9 & 1.10 clients + * Get if boss bars are fixed for 1.9 & 1.10 clients * * @return true if boss bar patching is enabled */ boolean isBossbarPatch(); /** - * Get if the boss bars for 1.9 & 1.10 clients are being stopped from flickering + * Get if the boss bars for 1.9 & 1.10 clients are being stopped from flickering * This will keep all boss bars on 100% (not recommended) * * @return true if boss bar anti flickering is enabled @@ -108,7 +108,7 @@ public interface ViaVersionConfig { /** * Get the kick message sent if the user hits the max packets per second. * - * @return Kick message, with colour codes using '&' + * @return Kick message, with colour codes using '&' */ String getMaxPPSKickMessage(); @@ -136,7 +136,7 @@ public interface ViaVersionConfig { /** * Get the kick message sent if the user goes over the warnings in the interval * - * @return Kick message, with colour codes using '&' + * @return Kick message, with colour codes using '&' */ String getMaxWarningsKickMessage(); diff --git a/common/src/main/java/us/myles/ViaVersion/api/configuration/ConfigurationProvider.java b/common/src/main/java/us/myles/ViaVersion/api/configuration/ConfigurationProvider.java index 1566598eb..1d3591be4 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/configuration/ConfigurationProvider.java +++ b/common/src/main/java/us/myles/ViaVersion/api/configuration/ConfigurationProvider.java @@ -25,7 +25,7 @@ public interface ConfigurationProvider { /** * Get all the configuration values * - * @return Map with key->values + * @return Map with key-values */ Map getValues(); }