Check for changeme

This commit is contained in:
nossr50 2019-02-21 23:02:38 -08:00
parent 772ceddf65
commit 63a0598766

View File

@ -16,6 +16,9 @@ import java.util.List;
* Handles creating treasures for various skill loot tables
*/
public class TreasureFactory {
public static final String CHANGE_ME = "ChangeMe";
/**
* Make a new ExcavationTreasure
* @param material
@ -46,7 +49,7 @@ public class TreasureFactory {
}
/* ADD CUSTOM LORE */
if(customLore != null)
if(customLore != null && !customLore.getString().equalsIgnoreCase(CHANGE_ME))
{
ItemMeta itemMeta = treasure.getItemMeta();
List<String> lore = new ArrayList<String>();