diff --git a/src/main/java/ru/zendal/session/TradeSessionManager.java b/src/main/java/ru/zendal/session/TradeSessionManager.java index b35f8c0..7a3d1fe 100644 --- a/src/main/java/ru/zendal/session/TradeSessionManager.java +++ b/src/main/java/ru/zendal/session/TradeSessionManager.java @@ -208,7 +208,7 @@ private void processOfflineTrade(TradeOfflineSession session) { * @see TradeSession */ private void processTrade(TradeSession session) { - + //TODO simpfi if (this.economyProcess(session)) { economyProvider.withdraw(session.getBuyer(), session.getBetBuyer()); economyProvider.withdraw(session.getSeller(), session.getBetSeller()); @@ -291,7 +291,7 @@ public TradeSession getSessionByBuyer(Player buyer) throws TradeSessionManagerEx return session; } } - throw new TradeSessionManagerException("trade.undefinedSessions"); + throw new TradeSessionManagerException("Undefined session"); }