Skip to content

Commit

Permalink
Fix some issues with #14
Browse files Browse the repository at this point in the history
identify was failing in 1.13.2 due to buble being ambiguous, and the topping name hadn't been changed.
  • Loading branch information
Pokechu22 committed Nov 12, 2020
1 parent 950050e commit 6823acd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion burger/toppings/identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@
# The biome class specifically is an issue because in 18w06a, the old name is
# present in the biome's own class, but the ID is still in the register class.
# This stops being an issue later into 1.13 when biome names become translatable.
IGNORE_DUPLICATES = [ "biome.register" ]
# This stops being an issue later into 1.13 when biome names become translatable.
# Similarly, in 1.13, "bubble" is ambiguous between the particle class and
# particle list, but the particletypes topping doesn't work in that version
# for other reasons so it's fine to ignore this issue for now.
IGNORE_DUPLICATES = [ "biome.register", "particletypes" ]

def check_match(value, match_list):
exact = False
Expand Down
2 changes: 1 addition & 1 deletion burger/toppings/particletypes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .topping import Topping

class TagsTopping(Topping):
class ParticleTypesTopping(Topping):
"""Provides a list of all particle types"""

PROVIDES = [
Expand Down

0 comments on commit 6823acd

Please sign in to comment.