mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2025-02-28 09:42:06 +01:00
Merge pull request #15 from roblabla/patch-1
Return the content of packet CF.
This commit is contained in:
commit
db5e603a2e
@ -815,6 +815,11 @@ def handleCF(FileObject):
|
|||||||
remove = DataUtil.readBoolean(FileObject)
|
remove = DataUtil.readBoolean(FileObject)
|
||||||
score_name = DataUtil.readString(FileObject)
|
score_name = DataUtil.readString(FileObject)
|
||||||
value = DataUtil.readInt(FileObject)
|
value = DataUtil.readInt(FileObject)
|
||||||
|
return {'Item Name' : name,
|
||||||
|
'Remove' : remove,
|
||||||
|
'Score Name' : score_name,
|
||||||
|
'Value' : value
|
||||||
|
}
|
||||||
|
|
||||||
def handleD0(FileObject):
|
def handleD0(FileObject):
|
||||||
position = DataUtil.readByte(FileObject)
|
position = DataUtil.readByte(FileObject)
|
||||||
|
Loading…
Reference in New Issue
Block a user