From 6823acdd8be759a1fb4b5f06795e5b23776ce455 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Tue, 28 Jul 2020 17:26:07 -0700 Subject: [PATCH] Fix some issues with #14 identify was failing in 1.13.2 due to buble being ambiguous, and the topping name hadn't been changed. --- burger/toppings/identify.py | 6 +++++- burger/toppings/particletypes.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/burger/toppings/identify.py b/burger/toppings/identify.py index 59594db1..2372ae9e 100644 --- a/burger/toppings/identify.py +++ b/burger/toppings/identify.py @@ -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 diff --git a/burger/toppings/particletypes.py b/burger/toppings/particletypes.py index 9da2fe74..107f0ff2 100644 --- a/burger/toppings/particletypes.py +++ b/burger/toppings/particletypes.py @@ -1,6 +1,6 @@ from .topping import Topping -class TagsTopping(Topping): +class ParticleTypesTopping(Topping): """Provides a list of all particle types""" PROVIDES = [