Merge pull request #1 from RyujiX/master

Updated settings for 1.13 in the config.yml
This commit is contained in:
Brianna O'Keefe 2018-07-26 09:24:54 -04:00 committed by GitHub
commit 07e1d3ddb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,7 @@ public final class RepairPlus extends JavaPlugin implements Listener {
public boolean v1_7 = Bukkit.getServer().getClass().getPackage().getName().contains("1_7");
public boolean v1_8 = Bukkit.getServer().getClass().getPackage().getName().contains("1_8");
public boolean v1_13 = Bukkit.getServer().getClass().getPackage().getName().contains("1_13");
private static RepairPlus INSTANCE;

View File

@ -251,8 +251,8 @@ public class SettingsManager implements Listener {
o4("ITEM-Cost-Equation", "{XPCost} * 3"),
o5("Enchanted-Item-Multiplier", 2),
o6("ECO-Icon", "DOUBLE_PLANT"),
o7("XP-Icon", "EXP_BOTTLE"),
o6("ECO-Icon", (RepairPlus.getInstance().v1_13 ? "SUNFLOWER" : "DOUBLE_PLANT")),
o7("XP-Icon", (RepairPlus.getInstance().v1_13 ? "EXPERIENCE_BOTTLE" : "EXP_BOTTLE")),
o8("ITEM", "DIAMOND"),
o9("Exit-Icon", "WOOD_DOOR"),