171172173174175176177178179180181
// Check if player is trading if(player.getActiveRequester() != null) { player.getActiveRequester().onTradeCancel(player); player.onTradeCancel(player.getActiveRequester()); } // Check if player are flying if(player.isFlying()) {
7980818283848586878889
} if (player.getActiveRequester() != null) { player.getActiveRequester().onTradeCancel(player); player.onTradeCancel(player.getActiveRequester()); } if (AttackStanceTaskManager.getInstance().getAttackStanceTask(player)) { if (Config.DEBUG)