mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-31 04:46:36 +00:00
1.2.18
This commit is contained in:
@@ -204,7 +204,7 @@ public class LootManager extends Function {
|
||||
if (material.contains(":")) {
|
||||
continue;
|
||||
}
|
||||
Item item = new Item(Material.valueOf(material.toUpperCase()));
|
||||
Item item = new Item(Material.valueOf(material.toUpperCase()), key);
|
||||
BonusManager.setItemProperties(config, key, item);
|
||||
if (item.getMaterial() == Material.AIR) LOOTITEMS.put(key, new ItemStack(Material.AIR));
|
||||
else LOOTITEMS.put(key, ItemStackUtil.getFromItem(item));
|
||||
|
||||
Reference in New Issue
Block a user