From 661c63a8aa1bcd04964659f9141869ceaa0deac6 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 2 Apr 2019 18:11:05 -0700 Subject: [PATCH] Unnecessary factory... --- .../salvage/salvageables/SalvageableFactory.java | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/main/java/com/gmail/nossr50/skills/salvage/salvageables/SalvageableFactory.java diff --git a/src/main/java/com/gmail/nossr50/skills/salvage/salvageables/SalvageableFactory.java b/src/main/java/com/gmail/nossr50/skills/salvage/salvageables/SalvageableFactory.java deleted file mode 100644 index b9417142b..000000000 --- a/src/main/java/com/gmail/nossr50/skills/salvage/salvageables/SalvageableFactory.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.gmail.nossr50.skills.salvage.salvageables; - -import com.gmail.nossr50.datatypes.skills.ItemMaterialCategory; -import com.gmail.nossr50.datatypes.skills.ItemType; -import org.bukkit.Material; - -public class SalvageableFactory { - public static Salvageable getSalvageable(Material itemMaterial, Material repairMaterial, byte repairMetadata, int maximumQuantity, short maximumDurability) { - return getSalvageable(itemMaterial, repairMaterial, repairMetadata, 0, maximumQuantity, maximumDurability, ItemType.OTHER, ItemMaterialCategory.OTHER, 1); - } - - public static Salvageable getSalvageable(Material itemMaterial, Material repairMaterial, byte repairMetadata, int minimumLevel, int maximumQuantity, short maximumDurability, ItemType repairItemType, ItemMaterialCategory repairItemMaterialCategory, double xpMultiplier) { - // TODO: Add in loading from config what type of repairable we want. - return new Salvageable(itemMaterial, repairMaterial, repairMetadata, minimumLevel, maximumQuantity, maximumDurability, repairItemType, repairItemMaterialCategory, xpMultiplier); - } -}