Permalink
Browse files

Cleaned up the stun baton item.

  • Loading branch information...
Ri5ux committed Oct 23, 2017
1 parent 6a60f58 commit 8892186ead6207831515e5dae41964d37fb20d5e
Showing with 8 additions and 9 deletions.
  1. +8 −9 src/main/java/org/avp/item/ItemStunBaton.java
@@ -22,19 +22,18 @@
public class ItemStunBaton extends ItemSword
{
// TODO: Fix this, the ToolMaterial passed into this constructor is DIAMOND,
// didnt know what custom material to put, n dont wanna make a new one that
// might not be what u guys want
public ItemStunBaton(ToolMaterial material)
public ItemStunBaton()
{
super(material);
// TODO: Find out if this is a proper max damage. Remove this if a damage is
// specified later by a custom material
super(ToolMaterial.IRON);
this.maxStackSize = 1;
}
@Override
public float getDamageVsEntity()
{
return 6.0F;
}
// TODO: adjust these particles once MDX 2.0.0.25 is added to the dev
// environment
@Override
public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity)
{

0 comments on commit 8892186

Please sign in to comment.