Update versions in WrappedServerPing
Dieser Commit ist enthalten in:
Ursprung
6f3329cae6
Commit
687db088ec
@ -48,12 +48,12 @@ public class WrappedServerPing extends AbstractWrapper {
|
|||||||
/**
|
/**
|
||||||
* Lookup of Minecraft versions and ping version numbers.
|
* Lookup of Minecraft versions and ping version numbers.
|
||||||
*/
|
*/
|
||||||
private static ImmutableMap<MinecraftVersion, Integer> VERSION_NUMBERS =
|
private static ImmutableMap<MinecraftVersion, Integer> VERSION_NUMBERS = ImmutableMap.<MinecraftVersion, Integer>builder()
|
||||||
ImmutableMap.<MinecraftVersion, Integer>builder().
|
.put(MinecraftVersion.WORLD_UPDATE, 4)
|
||||||
put(MinecraftVersion.WORLD_UPDATE, 4).
|
.put(MinecraftVersion.SKIN_UPDATE, 5)
|
||||||
put(MinecraftVersion.SKIN_UPDATE, 5).
|
.put(MinecraftVersion.BOUNTIFUL_UPDATE, 47)
|
||||||
build();
|
.build();
|
||||||
private static MinecraftVersion LAST_VERSION = MinecraftVersion.SKIN_UPDATE;
|
private static MinecraftVersion LAST_VERSION = MinecraftVersion.BOUNTIFUL_UPDATE;
|
||||||
|
|
||||||
// Server ping fields
|
// Server ping fields
|
||||||
private static Class<?> SERVER_PING = MinecraftReflection.getServerPingClass();
|
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.
|
* Construct a new server ping initialized with a zero player count, and zero maximum.
|
||||||
* <p>
|
* <p>
|
||||||
* Note that the version string is set to 1.7.2.
|
* Note that the version string is set to 1.8.
|
||||||
*/
|
*/
|
||||||
public WrappedServerPing() {
|
public WrappedServerPing() {
|
||||||
super(MinecraftReflection.getServerPingClass());
|
super(MinecraftReflection.getServerPingClass());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren