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:
parent
bced5ba4b1
commit
bb147e26ab
@ -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());
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user