From 70f3ccf703aa155de8cee0cee88a3f12ddd77513 Mon Sep 17 00:00:00 2001 From: Mysticate Date: Wed, 7 Oct 2015 21:53:23 -0400 Subject: [PATCH] Fixed spider morph --- .../src/mineplex/core/mount/types/MountSpider.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/mount/types/MountSpider.java b/Plugins/Mineplex.Core/src/mineplex/core/mount/types/MountSpider.java index 66b0f0d52..6c8a22ef7 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/mount/types/MountSpider.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/mount/types/MountSpider.java @@ -57,7 +57,7 @@ public class MountSpider extends HorseMount C.cYellow + "Jump" + C.cGray + " to use " + C.cGreen + "Jump", C.cYellow + "Double Jump" + C.cGray + " to use " + C.cGreen + "Leap", C.cBlack, - C.cPurple + "Only buyable during " + C.Line + "Halloween 2015", + C.cPurple + "Only available during " + C.Line + "Halloween 2015", C.cPurple + "Purchase at " + C.Line + "www.mineplex.com/shop" }, Material.WEB, (byte) 0, -1, Color.BLACK, Style.NONE, Variant.HORSE, 2.0, Material.AIR); } @@ -175,12 +175,8 @@ public class MountSpider extends HorseMount //Disable Flight player.setAllowFlight(false); - Vector direction = event.getPlayer().getLocation().getDirection().clone(); - direction.normalize().setY(0); //Make level - direction.multiply(1.4).setY(.6); - //Velocity - UtilAction.velocity(GetActive().get(event.getPlayer()), direction); + UtilAction.velocity(GetActive().get(event.getPlayer()), 1.4, 0.2, 1, true); //Sound player.playSound(player.getLocation(), Sound.SPIDER_IDLE, .4F, 1.0F); @@ -198,7 +194,7 @@ public class MountSpider extends HorseMount try { - Field jump = EntityLiving.class.getField("bc"); + Field jump = EntityLiving.class.getDeclaredField("bc"); final boolean accessable = jump.isAccessible(); jump.setAccessible(true);