We were calling deflect twice. Also made individual functions for each

type of combat.
This commit is contained in:
GJ
2013-06-07 13:55:49 -04:00
parent 3f7b17961f
commit a1792fe125
4 changed files with 172 additions and 174 deletions

View File

@ -462,7 +462,7 @@ public class SkillUtils {
* @param shouldArmSwing true if an armswing event should be fired, false otherwise
* @return true if the event wasn't cancelled, false otherwise
*/
public static boolean blockBreakSimulate(Block block, Player player, Boolean shouldArmSwing) {
public static boolean blockBreakSimulate(Block block, Player player, boolean shouldArmSwing) {
PluginManager pluginManger = mcMMO.p.getServer().getPluginManager();
// Support for NoCheat