mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add inventory type convert
This commit is contained in:
parent
e9613ad366
commit
13206614c4
5 changed files with 49 additions and 33 deletions
|
|
@ -26,10 +26,11 @@ namespace MinecraftClient.Inventory
|
|||
Title = title;
|
||||
Items = items;
|
||||
}
|
||||
public Container(int id, Protocol.InventoryType type, string title)
|
||||
public Container(int id, ContainerTypeOld type, string title)
|
||||
{
|
||||
ID = id;
|
||||
Title = title;
|
||||
Type = ConvertType.ToNew(type);
|
||||
}
|
||||
public Container(int id, int typeID, string title)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue