Fix throwing weapons not using their proper textures if present

This commit is contained in:
Bernhard Bonigl committed 2014-10-10 18:21:02 +02:00
1 parent 503dd488d2
commit cd58fde59f
1 file changed
-17
@@ -115,23 +115,6 @@ public abstract class AmmoWeapon extends AmmoItem implements IAccuracy, IWindup
protected abstract Entity createProjectile(ItemStack reference, World world, EntityPlayer player, float accuracy);
@Override
public void registerPartPaths(int index, String[] location) {
}
@Override
public void registerAlternatePartPaths(int index, String[] location) {
headStrings.put(index, location[0]);
brokenPartStrings.put(index, location[1]);
handleStrings.put(index, location[2]);
if (location.length > 3)
accessoryStrings.put(index, location[3]);
if (location.length > 4)
extraStrings.put(index, location[4]);
}
@SideOnly(Side.CLIENT)
public CrosshairType getCrosshairType() { return CrosshairType.SQUARE; }