Skip to content

Commit

Permalink
Identify VillagerData
Browse files Browse the repository at this point in the history
  • Loading branch information
Pokechu22 committed Nov 12, 2020
1 parent ccefc51 commit 4b7f101
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions burger/toppings/entitymetadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ def identify_serializer(classloader, cls, classes, verbose):
elif content_cf.constants.find_one(type_=String, f=lambda c: c == "FALL_FLYING"):
assert content_cf.access_flags.acc_enum
name = "Pose"
elif content_cf.constants.find_one(type_=String, f=lambda c: c == "profession"):
name = "VillagerData"
elif content_cf.access_flags.acc_interface:
# Make some _very_ bad assumptions here; both of these are hard to identify:
name = "Particle"
Expand Down

0 comments on commit 4b7f101

Please sign in to comment.