From 88dbe261db48a2154008efea4dbf2c13a5f07d66 Mon Sep 17 00:00:00 2001 From: Jonathan Williams Date: Sun, 15 Nov 2015 18:34:35 -0600 Subject: [PATCH] Added logging for stacker. --- .../src/mineplex/hub/modules/StackerManager.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/modules/StackerManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/modules/StackerManager.java index 2ac87ef75..094c43bec 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/modules/StackerManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/modules/StackerManager.java @@ -224,6 +224,8 @@ public class StackerManager extends MiniPlugin implements IThrown UtilPlayer.message(thrower, F.main("Stacker", "You threw " + F.name(UtilEnt.getName(throwee)))); UtilPlayer.message(throwee, F.main("Stacker", "You were thrown by " + F.name(thrower.getName()))); + System.out.println("Stacker throw."); + UtilAction.velocity(throwee, thrower.getLocation().getDirection(), 1.8, false, 0, 0.3, 2, false); _projectileManager.AddThrow(throwee, thrower, this, 4000, true, false, true, false, 0.5f); @@ -244,7 +246,9 @@ public class StackerManager extends MiniPlugin implements IThrown if (!Manager.hasPlayerStackingEnabled(target)) return; - + + System.out.println("Stacker collide."); + //Velocity UtilAction.velocity(target, UtilAlg.getTrajectory2d(data.GetThrown(), target), 1, true, 0.8, 0, 10, true);