mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-12-25 10:38:19 +01:00
Fixed a couple of mistakes in the JavaDoc.
This commit is contained in:
parent
c6d896d717
commit
74ecb14a33
@ -60,7 +60,7 @@ public final class Packets {
|
|||||||
public static final int ARM_ANIMATION = 18;
|
public static final int ARM_ANIMATION = 18;
|
||||||
public static final int NAMED_ENTITY_SPAWN = 20;
|
public static final int NAMED_ENTITY_SPAWN = 20;
|
||||||
/**
|
/**
|
||||||
* Removed in 1.4.6 and replaced with {@link VEHICLE_SPAWN}.
|
* Removed in 1.4.6 and replaced with VEHICLE_SPAWN.
|
||||||
* @see <a href="http://www.wiki.vg/Protocol_History#2012-12-20">Protocol History - MinecraftCoalition</a>
|
* @see <a href="http://www.wiki.vg/Protocol_History#2012-12-20">Protocol History - MinecraftCoalition</a>
|
||||||
*/
|
*/
|
||||||
@Deprecated()
|
@Deprecated()
|
||||||
|
@ -40,7 +40,6 @@ public class PrettyPrinter {
|
|||||||
/**
|
/**
|
||||||
* Print the content of an object.
|
* Print the content of an object.
|
||||||
* @param object - the object to serialize.
|
* @param object - the object to serialize.
|
||||||
* @param stop - superclass that will stop the process.
|
|
||||||
* @return String representation of the class.
|
* @return String representation of the class.
|
||||||
* @throws IllegalAccessException
|
* @throws IllegalAccessException
|
||||||
*/
|
*/
|
||||||
|
@ -221,7 +221,7 @@ public class MinecraftReflection {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if the given object is a NMS ItemStack.
|
* Determine if the given object is a NMS ItemStack.
|
||||||
* @param obj - the given object.
|
* @param value - the given object.
|
||||||
* @return TRUE if it is, FALSE otherwise.
|
* @return TRUE if it is, FALSE otherwise.
|
||||||
*/
|
*/
|
||||||
public static boolean isItemStack(Object value) {
|
public static boolean isItemStack(Object value) {
|
||||||
@ -549,7 +549,8 @@ public class MinecraftReflection {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve the first class that matches a specified Minecraft name.
|
* Retrieve the first class that matches a specified Minecraft name.
|
||||||
* @param classes - the specific Minecraft class.
|
* @param className - the specific Minecraft class.
|
||||||
|
* @param aliases - alternative names for this Minecraft class.
|
||||||
* @return Class object.
|
* @return Class object.
|
||||||
* @throws RuntimeException If we are unable to find any of the given classes.
|
* @throws RuntimeException If we are unable to find any of the given classes.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user