Minecraft 1.18.2 support

This commit is contained in:
md_5
2022-03-01 02:00:00 +11:00
parent f4f94d3b56
commit 7e47490e70
3 changed files with 20 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ public abstract class EntityMap
case ProtocolConstants.MINECRAFT_1_17_1:
return EntityMap_1_16_2.INSTANCE_1_17;
case ProtocolConstants.MINECRAFT_1_18:
case ProtocolConstants.MINECRAFT_1_18_2:
return EntityMap_1_16_2.INSTANCE_1_18;
}
throw new RuntimeException( "Version " + version + " has no entity map" );