mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +00:00
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:
parent
bf46a5abb9
commit
bf54460f2d
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ public class MetalClips {
|
|||
return;
|
||||
}
|
||||
|
||||
Item ii = player.getWorld().dropItemNaturally(player.getLocation(), is);
|
||||
Item ii = player.getWorld().dropItemNaturally(player.getLocation().add(0, 1, 0), is);
|
||||
|
||||
Vector v;
|
||||
|
||||
|
@ -145,7 +145,7 @@ public class MetalClips {
|
|||
else
|
||||
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);
|
||||
player.getInventory().removeItem(is);
|
||||
|
||||
|
|
Loading…
Reference in a new issue