From 687db088ecd56132835296773e3581e35dea71d4 Mon Sep 17 00:00:00 2001 From: Dan Mulloy Date: Tue, 23 Dec 2014 14:09:21 -0500 Subject: [PATCH] Update versions in WrappedServerPing --- .../protocol/wrappers/WrappedServerPing.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedServerPing.java b/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedServerPing.java index dd17698a..c2d5ab67 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedServerPing.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedServerPing.java @@ -48,12 +48,12 @@ public class WrappedServerPing extends AbstractWrapper { /** * Lookup of Minecraft versions and ping version numbers. */ - private static ImmutableMap VERSION_NUMBERS = - ImmutableMap.builder(). - put(MinecraftVersion.WORLD_UPDATE, 4). - put(MinecraftVersion.SKIN_UPDATE, 5). - build(); - private static MinecraftVersion LAST_VERSION = MinecraftVersion.SKIN_UPDATE; + private static ImmutableMap VERSION_NUMBERS = ImmutableMap.builder() + .put(MinecraftVersion.WORLD_UPDATE, 4) + .put(MinecraftVersion.SKIN_UPDATE, 5) + .put(MinecraftVersion.BOUNTIFUL_UPDATE, 47) + .build(); + private static MinecraftVersion LAST_VERSION = MinecraftVersion.BOUNTIFUL_UPDATE; // Server ping fields private static Class SERVER_PING = MinecraftReflection.getServerPingClass(); @@ -100,7 +100,7 @@ public class WrappedServerPing extends AbstractWrapper { /** * Construct a new server ping initialized with a zero player count, and zero maximum. *

- * Note that the version string is set to 1.7.2. + * Note that the version string is set to 1.8. */ public WrappedServerPing() { super(MinecraftReflection.getServerPingClass());