this.updateClientMoney();
//Let player know he bought the item
TcpProtocolHandler.writeMessage(m_tcpSession,
new ShopBuyMessage(GameServer.getServiceManager().getItemDatabase().getItem(id).getId()));
//Update player inventory
TcpProtocolHandler.writeMessage(m_tcpSession, new ItemMessage(true,
GameServer.getServiceManager().getItemDatabase().getItem(id).getId(), 1));
}
}else{
//Return You have no money, fool!
TcpProtocolHandler.writeMessage(m_tcpSession, new ShopNoMoneyMessage());