Update to Minecraft 1.12.2

This commit is contained in:
md_5
2017-09-18 20:00:00 +10:00
parent 3db9fb1b69
commit 0eaabdf5ca
5 changed files with 17 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ public final class UserConnection implements ProxiedPlayer
/*========================================================================*/
@Getter
@Setter
private int sentPingId;
private long sentPingId;
@Getter
@Setter
private long sentPingTime;

View File

@@ -45,6 +45,7 @@ public abstract class EntityMap
case ProtocolConstants.MINECRAFT_1_12:
return EntityMap_1_12.INSTANCE;
case ProtocolConstants.MINECRAFT_1_12_1:
case ProtocolConstants.MINECRAFT_1_12_2:
return EntityMap_1_12_1.INSTANCE;
}
throw new RuntimeException( "Version " + version + " has no entity map" );