fixed taser not working
@@ -22,6 +22,7 @@ public class EntityTaserBullet extends EntityThrowable {
public EntityTaserBullet(World worldIn, EntityLivingBase shooter){
super(worldIn, shooter);
this.setSize(0.01F, 0.01F);
+ this.setHeadingFromThrower(shooter, shooter.rotationPitch, shooter.rotationYaw, 0.0F, 6.0F, 0.0F);
}
public EntityTaserBullet(World worldIn, double x, double y, double z){
@@ -29,10 +30,6 @@ public class EntityTaserBullet extends EntityThrowable {
this.setSize(0.01F, 0.01F);
}
- protected float func_70182_d(){
- return 6F;
- }
-
@Override
protected float getGravityVelocity(){
return 0.00F;
