Skip to content

Commit

Permalink
Fix example spigot API version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rollczi committed Jul 14, 2024
1 parent ecd66c2 commit f934db6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
}

dependencies {
compileOnly("org.spigotmc:spigot-api:1.20.6-R0.1-SNAPSHOT")
compileOnly("org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT")

implementation("dev.piotrulla:craftinglib:3.0.1")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ private ItemStack createPickaxe() {
ItemStack pickaxe = new ItemStack(Material.DIAMOND_PICKAXE);

ItemMeta itemMeta = pickaxe.getItemMeta();
itemMeta.addEnchant(Enchantment.EFFICIENCY, 6, true);
itemMeta.addEnchant(Enchantment.UNBREAKING, 4, true);
itemMeta.addEnchant(Enchantment.LOOTING, 4, true);
itemMeta.addEnchant(Enchantment.DIG_SPEED, 6, true);
itemMeta.addEnchant(Enchantment.DURABILITY, 4, true);
itemMeta.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 4, true);

itemMeta.setDisplayName(this.color("&6&lSuper Pickaxe"));
itemMeta.setLore(Collections.singletonList(this.color("&cThis pickaxe is super fast!")));
Expand Down

0 comments on commit f934db6

Please sign in to comment.