mirror of
https://github.com/songoda/UltimateRepairing.git
synced 2024-11-01 08:20:43 +01:00
Merge pull request #1 from RyujiX/master
Updated settings for 1.13 in the config.yml
This commit is contained in:
commit
07e1d3ddb3
@ -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_7 = Bukkit.getServer().getClass().getPackage().getName().contains("1_7");
|
||||||
public boolean v1_8 = Bukkit.getServer().getClass().getPackage().getName().contains("1_8");
|
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;
|
private static RepairPlus INSTANCE;
|
||||||
|
|
||||||
|
@ -251,8 +251,8 @@ public class SettingsManager implements Listener {
|
|||||||
o4("ITEM-Cost-Equation", "{XPCost} * 3"),
|
o4("ITEM-Cost-Equation", "{XPCost} * 3"),
|
||||||
o5("Enchanted-Item-Multiplier", 2),
|
o5("Enchanted-Item-Multiplier", 2),
|
||||||
|
|
||||||
o6("ECO-Icon", "DOUBLE_PLANT"),
|
o6("ECO-Icon", (RepairPlus.getInstance().v1_13 ? "SUNFLOWER" : "DOUBLE_PLANT")),
|
||||||
o7("XP-Icon", "EXP_BOTTLE"),
|
o7("XP-Icon", (RepairPlus.getInstance().v1_13 ? "EXPERIENCE_BOTTLE" : "EXP_BOTTLE")),
|
||||||
o8("ITEM", "DIAMOND"),
|
o8("ITEM", "DIAMOND"),
|
||||||
|
|
||||||
o9("Exit-Icon", "WOOD_DOOR"),
|
o9("Exit-Icon", "WOOD_DOOR"),
|
||||||
|
Loading…
Reference in New Issue
Block a user