mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 09:34:46 +00:00
Add some more Attack Speed Handling
This commit is contained in:
1 parent
8dad290486
commit
592a910cbc
6 files changed
+39
-14
No files matched your search
@@ -102,6 +102,11 @@ public class ScriptLinkedItem extends ScriptCustomizableItem implements IItemLin
|
||||
return this.linkedItem.enchantability;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getAttackSpeed() {
|
||||
return this.linkedItem.attackSpeed;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTexture() {
|
||||
return this.itemDisplay.texture == null ? this.linkedItem.display.texture : this.itemDisplay.texture;
|
||||
|
||||
Reference in new issue
Block a user