Fixed URL support for scripted items, weird 3d visibility bug still present that needs to be fixed.

This commit is contained in:
Luis C.M committed 2023-03-19 02:04:47 -05:00
1 parent 7fdfd14174
commit 39a40c9603
6 files changed
+73 -50

No files matched your search

@@ -393,9 +393,6 @@ public class ScriptCustomItem extends ScriptItemStack implements IItemCustom, IS
compound.setFloat("TranslateY",this.translateY);
compound.setFloat("TranslateZ",this.translateZ);
compound.setInteger("Width", this.width);
compound.setInteger("Height", this.height);
compound.setBoolean("IsTool", this.isTool);
compound.setInteger("DigSpeed", this.digSpeed);
compound.setInteger("ArmorType", this.armorType);
@@ -432,9 +429,6 @@ public class ScriptCustomItem extends ScriptItemStack implements IItemCustom, IS
this.translateY = compound.getFloat("TranslateY");
this.translateZ = compound.getFloat("TranslateZ");
this.width = compound.getInteger("Width");
this.height = compound.getInteger("Height");
this.isTool = compound.getBoolean("IsTool");
this.digSpeed = compound.getInteger("DigSpeed");
this.armorType = compound.getInteger("ArmorType");