diff --git a/ProtocolLib/src/com/comphenix/protocol/injector/PacketConstructor.java b/ProtocolLib/src/com/comphenix/protocol/injector/PacketConstructor.java index 0708fd5f..135e7eb2 100644 --- a/ProtocolLib/src/com/comphenix/protocol/injector/PacketConstructor.java +++ b/ProtocolLib/src/com/comphenix/protocol/injector/PacketConstructor.java @@ -72,7 +72,7 @@ public class PacketConstructor { /** * Create a packet constructor that creates packets using the given types. * @param id - packet ID. - * @param types - types to create. + * @param values - types to create. * @return A packet constructor with these types. * @throws IllegalArgumentException If no packet constructor could be created with these types. */ diff --git a/ProtocolLib/src/com/comphenix/protocol/injector/player/PlayerInjectionHandler.java b/ProtocolLib/src/com/comphenix/protocol/injector/player/PlayerInjectionHandler.java index d10bfb64..da50fdee 100644 --- a/ProtocolLib/src/com/comphenix/protocol/injector/player/PlayerInjectionHandler.java +++ b/ProtocolLib/src/com/comphenix/protocol/injector/player/PlayerInjectionHandler.java @@ -124,7 +124,6 @@ public class PlayerInjectionHandler { /** * Initialize a player hook, allowing us to read server packets. - * @param manager - the main packet filter manager. * @param player - player to hook. */ public void injectPlayer(Player player) { diff --git a/ProtocolLib/src/com/comphenix/protocol/reflect/FuzzyReflection.java b/ProtocolLib/src/com/comphenix/protocol/reflect/FuzzyReflection.java index d9f0bad7..9730ae18 100644 --- a/ProtocolLib/src/com/comphenix/protocol/reflect/FuzzyReflection.java +++ b/ProtocolLib/src/com/comphenix/protocol/reflect/FuzzyReflection.java @@ -156,8 +156,8 @@ public class FuzzyReflection { /** * Retrieves a method by looking at the parameter types and return type only. * @param name - potential name of the method. Only used by the error mechanism. - * @param returnType - regular expression matching the return type of the method to find. - * @param args - regular expressions of the matching parameter types. + * @param returnTypeRegex - regular expression matching the return type of the method to find. + * @param argsRegex - regular expressions of the matching parameter types. * @return The first method that satisfies the parameter types. */ public Method getMethodByParameters(String name, String returnTypeRegex, String[] argsRegex) { diff --git a/ProtocolLib/src/com/comphenix/protocol/reflect/instances/DefaultInstances.java b/ProtocolLib/src/com/comphenix/protocol/reflect/instances/DefaultInstances.java index 7dd03cf7..966f3fff 100644 --- a/ProtocolLib/src/com/comphenix/protocol/reflect/instances/DefaultInstances.java +++ b/ProtocolLib/src/com/comphenix/protocol/reflect/instances/DefaultInstances.java @@ -200,7 +200,7 @@ public class DefaultInstances { * @param types - types to check. * @param providers - instance providers. * @param recursionLevel - current recursion level. - * @return + * @return TRUE if any of the types will return NULL, FALSE otherwise. */ private boolean isAnyNull(Class[] types, List providers, int recursionLevel) { // Just check if any of them are NULL