Skip to content

Commit

Permalink
Give javelin the other crosshair thing
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 26, 2014
1 parent 24cc1e7 commit ecf5d0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/tconstruct/weaponry/weapons/Javelin.java
@@ -1,6 +1,9 @@
package tconstruct.weaponry.weapons;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import tconstruct.weaponry.TinkerWeaponry;
import tconstruct.weaponry.client.CrosshairType;
import tconstruct.weaponry.entity.JavelinEntity;
import tconstruct.library.weaponry.AmmoWeapon;
import net.minecraft.entity.Entity;
Expand Down Expand Up @@ -167,4 +170,8 @@ protected Entity createProjectile(ItemStack reference, World world, EntityPlayer

return entity;
}

@SideOnly(Side.CLIENT)
@Override
public CrosshairType getCrosshairType() { return CrosshairType.WEIRD; }
}

0 comments on commit ecf5d0e

Please sign in to comment.