mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
Minecraft 1.13.1 support
This commit is contained in:
parent
9ea82e9541
commit
1bb826109c
@ -376,6 +376,9 @@ public enum Protocol
|
||||
linkedProtocols.put( ProtocolConstants.MINECRAFT_1_12_1, Arrays.asList(
|
||||
ProtocolConstants.MINECRAFT_1_12_2
|
||||
) );
|
||||
linkedProtocols.put( ProtocolConstants.MINECRAFT_1_13, Arrays.asList(
|
||||
ProtocolConstants.MINECRAFT_1_13_1
|
||||
) );
|
||||
}
|
||||
|
||||
@Getter
|
||||
|
@ -18,6 +18,7 @@ public class ProtocolConstants
|
||||
public static final int MINECRAFT_1_12_1 = 338;
|
||||
public static final int MINECRAFT_1_12_2 = 340;
|
||||
public static final int MINECRAFT_1_13 = 393;
|
||||
public static final int MINECRAFT_1_13_1 = 401;
|
||||
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
|
||||
"1.8.x",
|
||||
"1.9.x",
|
||||
@ -37,7 +38,8 @@ public class ProtocolConstants
|
||||
ProtocolConstants.MINECRAFT_1_12,
|
||||
ProtocolConstants.MINECRAFT_1_12_1,
|
||||
ProtocolConstants.MINECRAFT_1_12_2,
|
||||
ProtocolConstants.MINECRAFT_1_13
|
||||
ProtocolConstants.MINECRAFT_1_13,
|
||||
ProtocolConstants.MINECRAFT_1_13_1
|
||||
);
|
||||
|
||||
public enum Direction
|
||||
|
@ -48,6 +48,7 @@ public abstract class EntityMap
|
||||
case ProtocolConstants.MINECRAFT_1_12_2:
|
||||
return EntityMap_1_12_1.INSTANCE;
|
||||
case ProtocolConstants.MINECRAFT_1_13:
|
||||
case ProtocolConstants.MINECRAFT_1_13_1:
|
||||
return EntityMap_1_13.INSTANCE;
|
||||
}
|
||||
throw new RuntimeException( "Version " + version + " has no entity map" );
|
||||
|
Loading…
Reference in New Issue
Block a user