Przeglądaj źródła

Removing the oopsies

nossr50 6 lat temu
rodzic
commit
2c752dc470

+ 0 - 7
src/main/java/com/gmail/nossr50/config/treasure/ExcavationTreasureConfig.java

@@ -73,7 +73,6 @@ public class ExcavationTreasureConfig extends Config implements UnsafeValueValid
                     double dropChance = currentTreasure.getNode(DROP_CHANCE).getDouble();
                     int dropLevel = currentTreasure.getNode(DROP_LEVEL).getInt();
                     String customName = null;
-                    String lore;
 
                     /*
                      * PARAMETER INIT
@@ -123,12 +122,6 @@ public class ExcavationTreasureConfig extends Config implements UnsafeValueValid
                         customName = currentTreasure.getNode(CUSTOM_NAME).getString();
                     }
 
-                    //Lore
-                    if(currentTreasure.getNode(LORE) != null && !currentTreasure.getNode(LORE).getString().equalsIgnoreCase("ChangeMe"))
-                    {
-                        lore = currentTreasure.getNode(LORE).getString();
-                    }
-
                     /*
                      * REGISTER TREASURE
                      */