Jump to content

Does anyone know if it's possible to add a /repairall skript that repairs all broken items in the inventory?


Legendary_Edwin

Recommended Posts

  • 2 weeks later...
3 hours ago, Legendary_Edwin said:

Sorry for late reply but it seems like it doesn't work? do you know why? but thanks anyways

command repairall:
	permission: op
	trigger:
		loop all items in player's inventory:
			loop-item's durability < loop-item's max durability
			repair loop-item

For future reference, send the errors

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...