From ecf5d0e9901a1ecec3739d976ff2ece494edb95b Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Sun, 26 Oct 2014 20:11:24 +0100 Subject: [PATCH] Give javelin the other crosshair thing --- src/main/java/tconstruct/weaponry/weapons/Javelin.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/tconstruct/weaponry/weapons/Javelin.java b/src/main/java/tconstruct/weaponry/weapons/Javelin.java index 20f01b50fdb..b9b15e68e38 100644 --- a/src/main/java/tconstruct/weaponry/weapons/Javelin.java +++ b/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; @@ -167,4 +170,8 @@ protected Entity createProjectile(ItemStack reference, World world, EntityPlayer return entity; } + + @SideOnly(Side.CLIENT) + @Override + public CrosshairType getCrosshairType() { return CrosshairType.WEIRD; } }