Fix array out-of-bounds in trades
Don't broadcast messages to players who are disconnecting