mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-16 07:15:24 +01:00
Fix for 0x64 change
This commit is contained in:
parent
42344ada6c
commit
bc4115e2b6
@ -673,13 +673,15 @@ def handle64(FileObject):
|
|||||||
WindowTitle = DataUtil.readString(FileObject)
|
WindowTitle = DataUtil.readString(FileObject)
|
||||||
NumberOfSlots = DataUtil.readByte(FileObject)
|
NumberOfSlots = DataUtil.readByte(FileObject)
|
||||||
UseName = DataUtil.readBoolean(FileObject)
|
UseName = DataUtil.readBoolean(FileObject)
|
||||||
DataUtil.readInt(FileObject)
|
toReturn = {'WindowID': WindowID,
|
||||||
return {'WindowID': WindowID,
|
|
||||||
'InventoryType': InventoryType,
|
'InventoryType': InventoryType,
|
||||||
'WindowTitle': WindowTitle,
|
'WindowTitle': WindowTitle,
|
||||||
'NumberOfSlots': NumberOfSlots,
|
'NumberOfSlots': NumberOfSlots,
|
||||||
'UseName': UseName
|
'UseName': UseName
|
||||||
}
|
}
|
||||||
|
if InventoryType == 11:
|
||||||
|
toReturn['EntityId'] = DataUtil.readInt(FileObject)
|
||||||
|
return toReturn
|
||||||
|
|
||||||
|
|
||||||
def handle65(FileObject):
|
def handle65(FileObject):
|
||||||
|
Loading…
Reference in New Issue
Block a user