1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

rename the new tag

This commit is contained in:
ybw0014 2021-08-04 20:46:30 +08:00
parent bced5ba4b1
commit bb147e26ab
3 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ public class EnhancedFurnaceListener implements Listener {
if (state instanceof Furnace) {
FurnaceInventory inventory = ((Furnace) state).getInventory();
boolean multiplier = SlimefunTag.LUCK_MULTIPLIER_MATERIALS.isTagged(inventory.getSmelting().getType());
boolean multiplier = SlimefunTag.ENHANCED_FURNACE_LUCK_MATERIALS.isTagged(inventory.getSmelting().getType());
int amount = multiplier ? ((EnhancedFurnace) sfItem).getRandomOutputAmount() : 1;
Optional<ItemStack> result = SlimefunPlugin.getMinecraftRecipeService().getFurnaceOutput(inventory.getSmelting());

View File

@ -241,7 +241,7 @@ public enum SlimefunTag implements Tag<Material> {
/**
* All materials which benefit from the luck multiplier of {@link EnhancedFurnace}
*/
LUCK_MULTIPLIER_MATERIALS;
ENHANCED_FURNACE_LUCK_MATERIALS;
/**
* Lookup table for tag names.