Skip to content

Commit

Permalink
change max uses
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master committed Dec 17, 2022
1 parent 71476cc commit a4ed808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/portablejim/bbw/BetterBuildersWandsMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void preInit(FMLPreInitializationEvent event) {
configValues.loadConfigFile();

itemDiamondWand = new ItemUnrestrictedWand(
new RestrictedWand(configValues.DIAMOND_WAND_DURABILITY), "Unrestricted", "Diamond");
new RestrictedWand(Item.ToolMaterial.EMERALD.getMaxUses()), "Unrestricted", "Diamond");
itemDiamondWand.setMaxDamage(configValues.DIAMOND_WAND_DURABILITY);
GameRegistry.registerItem(itemDiamondWand, "wandDiamond");
networkWrapper = NetworkRegistry.INSTANCE.newSimpleChannel("bbwands");
Expand Down

0 comments on commit a4ed808

Please sign in to comment.