@Override protected final void runImpl() { final L2PcInstance activeChar = super.getClient().getActiveChar(); if (activeChar == null) { return; } // can't use auction fp here if (!getClient().getFloodProtectors().getTransaction().tryPerformAction("auction")) { activeChar.sendMessage("You are bidding too fast."); return; } if ((_bid < 0) || (_bid > Inventory.MAX_ADENA)) { return; } final ItemAuctionInstance instance = ItemAuctionManager.getInstance().getManagerInstance(_instanceId); if (instance != null) { final ItemAuction auction = instance.getCurrentAuction(); if (auction != null) { auction.registerBid(activeChar, _bid); } } }