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