mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-17 22:28:15 +01:00
Minecraft 1.15.1 support
This commit is contained in:
parent
4cccf53775
commit
1f24591a0d
@ -26,6 +26,7 @@ public class ProtocolConstants
|
|||||||
public static final int MINECRAFT_1_14_3 = 490;
|
public static final int MINECRAFT_1_14_3 = 490;
|
||||||
public static final int MINECRAFT_1_14_4 = 498;
|
public static final int MINECRAFT_1_14_4 = 498;
|
||||||
public static final int MINECRAFT_1_15 = 573;
|
public static final int MINECRAFT_1_15 = 573;
|
||||||
|
public static final int MINECRAFT_1_15_1 = 575;
|
||||||
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
|
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
|
||||||
"1.8.x",
|
"1.8.x",
|
||||||
"1.9.x",
|
"1.9.x",
|
||||||
@ -56,7 +57,8 @@ public class ProtocolConstants
|
|||||||
ProtocolConstants.MINECRAFT_1_14_2,
|
ProtocolConstants.MINECRAFT_1_14_2,
|
||||||
ProtocolConstants.MINECRAFT_1_14_3,
|
ProtocolConstants.MINECRAFT_1_14_3,
|
||||||
ProtocolConstants.MINECRAFT_1_14_4,
|
ProtocolConstants.MINECRAFT_1_14_4,
|
||||||
ProtocolConstants.MINECRAFT_1_15
|
ProtocolConstants.MINECRAFT_1_15,
|
||||||
|
ProtocolConstants.MINECRAFT_1_15_1
|
||||||
);
|
);
|
||||||
|
|
||||||
public enum Direction
|
public enum Direction
|
||||||
|
@ -58,6 +58,7 @@ public abstract class EntityMap
|
|||||||
case ProtocolConstants.MINECRAFT_1_14_4:
|
case ProtocolConstants.MINECRAFT_1_14_4:
|
||||||
return EntityMap_1_14.INSTANCE;
|
return EntityMap_1_14.INSTANCE;
|
||||||
case ProtocolConstants.MINECRAFT_1_15:
|
case ProtocolConstants.MINECRAFT_1_15:
|
||||||
|
case ProtocolConstants.MINECRAFT_1_15_1:
|
||||||
return EntityMap_1_15.INSTANCE;
|
return EntityMap_1_15.INSTANCE;
|
||||||
}
|
}
|
||||||
throw new RuntimeException( "Version " + version + " has no entity map" );
|
throw new RuntimeException( "Version " + version + " has no entity map" );
|
||||||
|
Loading…
Reference in New Issue
Block a user