mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-22 11:55:12 +01:00
Added Netherite armor/tools to categories
This commit is contained in:
parent
4de44321cf
commit
78ad21fff9
@ -68,6 +68,12 @@ public enum Category {
|
||||
ma.add(Material.DIAMOND_CHESTPLATE);
|
||||
ma.add(Material.DIAMOND_LEGGINGS);
|
||||
ma.add(Material.DIAMOND_BOOTS);
|
||||
if (Version.getCurrentVersion().isNewer(Version.v1_15_R1)) {
|
||||
ma.add(Material.NETHERITE_HELMET);
|
||||
ma.add(Material.NETHERITE_CHESTPLATE);
|
||||
ma.add(Material.NETHERITE_LEGGINGS);
|
||||
ma.add(Material.NETHERITE_BOOTS);
|
||||
}
|
||||
return ma;
|
||||
}
|
||||
|
||||
@ -107,6 +113,11 @@ public enum Category {
|
||||
ma.add(Material.STONE_HOE);
|
||||
ma.add(Material.IRON_HOE);
|
||||
ma.add(Material.DIAMOND_HOE);
|
||||
if (Version.getCurrentVersion().isNewer(Version.v1_15_R1)) {
|
||||
ma.add(Material.NETHERITE_PICKAXE);
|
||||
ma.add(Material.NETHERITE_AXE);
|
||||
ma.add(Material.NETHERITE_HOE);
|
||||
}
|
||||
return ma;
|
||||
}
|
||||
|
||||
@ -130,6 +141,10 @@ public enum Category {
|
||||
ma.add(Material.IRON_AXE);
|
||||
ma.add(Material.DIAMOND_AXE);
|
||||
ma.add(Material.BOW);
|
||||
if (Version.getCurrentVersion().isNewer(Version.v1_15_R1)) {
|
||||
ma.add(Material.NETHERITE_SWORD);
|
||||
ma.add(Material.NETHERITE_AXE);
|
||||
}
|
||||
return ma;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user