IItemCustom:

-Added setArmorType
This commit is contained in:
Luis C.M committed 2022-07-02 03:15:38 -05:00
1 parent 4b7d8e744e
commit b51c47c2d4
2 files changed
+3 -1

No files matched your search

@@ -11,6 +11,8 @@ public interface IItemCustom extends IItemStack, IScriptHandler {
void setTexture(String var2);
void setArmorType(int armorType);
int getArmorType();
void setIsTool(boolean isTool);
@@ -168,7 +168,7 @@ public class ScriptCustomItem extends ScriptItemStack implements IItemCustom, IS
return this.stackSize;
}
public void setArmorType(int armorType){
public void setArmorType(int armorType) {
this.armorType = armorType;
saveItemData();
}