From 7f4f2bb72430d4a0ce9f0580ffe96424b79e3f5b Mon Sep 17 00:00:00 2001 From: Devil Boy Date: Thu, 5 Dec 2013 19:25:06 -0800 Subject: [PATCH 1/2] Fixed two typos in PacketType (didn't merge properly from thesbros) --- .../src/main/java/com/comphenix/protocol/PacketType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/PacketType.java b/ProtocolLib/src/main/java/com/comphenix/protocol/PacketType.java index 6e1e0bec..7010fd19 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/PacketType.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/PacketType.java @@ -114,7 +114,7 @@ public class PacketType implements Serializable { public static final PacketType COLLECT = new PacketType(PROTOCOL, SENDER, 0x0D, 22); public static final PacketType SPAWN_ENTITY = new PacketType(PROTOCOL, SENDER, 0x0E, 23); public static final PacketType SPAWN_ENTITY_LIVING = new PacketType(PROTOCOL, SENDER, 0x0F, 24); - public static final PacketType SPAWN_ENTITY_PAITING = new PacketType(PROTOCOL, SENDER, 0x10, 25); + public static final PacketType SPAWN_ENTITY_PAINTING = new PacketType(PROTOCOL, SENDER, 0x10, 25); public static final PacketType SPAWN_ENTITY_EXPERIENCE_ORB = new PacketType(PROTOCOL, SENDER, 0x11, 26); public static final PacketType ENTITY_VELOCITY = new PacketType(PROTOCOL, SENDER, 0x12, 28); public static final PacketType ENTITY_DESTROY = new PacketType(PROTOCOL, SENDER, 0x13, 29); @@ -164,7 +164,7 @@ public class PacketType implements Serializable { public static final PacketType SCOREBOARD_SCORE = new PacketType(PROTOCOL, SENDER, 0x3C, 207); public static final PacketType SCOREBOARD_DISPLAY_OBJECTIVE = new PacketType(PROTOCOL, SENDER, 0x3D, 208); - public static final PacketType SCOREOARD_TEAM = new PacketType(PROTOCOL, SENDER, 0x3E, 209); + public static final PacketType SCOREBOARD_TEAM = new PacketType(PROTOCOL, SENDER, 0x3E, 209); public static final PacketType CUSTOM_PAYLOAD = new PacketType(PROTOCOL, SENDER, 0x3F, 250); public static final PacketType KICK_DISCONNECT = new PacketType(PROTOCOL, SENDER, 0x40, 255); From 745c4054a368fb0851654a5a4f53676621cb5c44 Mon Sep 17 00:00:00 2001 From: Devil Boy Date: Thu, 5 Dec 2013 19:38:29 -0800 Subject: [PATCH 2/2] Just a tiny correction for GameProfile Javadocs --- .../com/comphenix/protocol/wrappers/WrappedGameProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedGameProfile.java b/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedGameProfile.java index f390b208..07dd9f14 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedGameProfile.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedGameProfile.java @@ -60,7 +60,7 @@ public class WrappedGameProfile { } /** - * Construct a new game profile with the same ID, but different id. + * Construct a new game profile with the same ID, but different name. * @param name - the new name of the profile to create. * @return The new game profile. */