Change MetalClips

- Changed where the Iron Ingot is shot from, was feet and now it shoots from higher up. Not much difference if any.
This commit is contained in:
Simplicitee 2015-09-16 20:37:03 -04:00
parent bf46a5abb9
commit bf54460f2d

View file

@ -136,7 +136,7 @@ public class MetalClips {
return; return;
} }
Item ii = player.getWorld().dropItemNaturally(player.getLocation(), is); Item ii = player.getWorld().dropItemNaturally(player.getLocation().add(0, 1, 0), is);
Vector v; Vector v;
@ -145,7 +145,7 @@ public class MetalClips {
else else
v = GeneralMethods.getDirection(player.getLocation(), GeneralMethods.getTargetedLocation(player, 10)); v = GeneralMethods.getDirection(player.getLocation(), GeneralMethods.getTargetedLocation(player, 10));
ii.setVelocity(v.normalize().add(new Vector(0, 0.2, 0).multiply(1.2))); ii.setVelocity(v.normalize().add(new Vector(0, 0.1, 0).multiply(1.2)));
trackedIngots.add(ii); trackedIngots.add(ii);
player.getInventory().removeItem(is); player.getInventory().removeItem(is);